p.s.: the cathode (ring) towards gpio16 ...
i am using D1 mini in my project , i have a sensor that measure weight and send it on HTTP Request and after it goes to deep sleep.
i need to connect a push button that if i'll press it for 3 seconds, it will wake - up the D1 and run a function.
there is a way to do that ?