light_sleep transfer deep_sleep when do a long pressed button
Posted: Wed Sep 21, 2022 1:52 pm
Hi,
I want to my ESP32 when it is sleep (in mode light_sleep) and I will do a long pressed button ( maybe 5 seconds ) and want esp32 can transfer to deep_sleep().
Is it possible to do it ? Thanks a lot for helping me.
I want to my ESP32 when it is sleep (in mode light_sleep) and I will do a long pressed button ( maybe 5 seconds ) and want esp32 can transfer to deep_sleep().
Is it possible to do it ? Thanks a lot for helping me.