Momentary switch to put esp into deepsleep and wake up
Posted: Fri Jun 15, 2018 3:08 am
I'd like to use a momentary switch to put a wemos d1 mini to sleep and then use the same button to wake it up. Effectively like a on off switch.
Does anyone have an example sketch.
Thanks in advance.
Does anyone have an example sketch.
Thanks in advance.