Adding a power switch to m5paper
Opened this issue · 0 comments
drtonis commented
Hi,
I uploaded the code to my M5paper and it works as described. The only thing that I have noticed is that after not pressing any button (unknown) time the ESP goes to deep sleep and the only way to wake it up is plugging a power cable to the USB port. Somewhere I read that when plugging the USB cable, the whole board will be restarted.
- Where in the code could I find the sleep time constants? I went through the code, but I couldn’t find the time.
- What is the function of the back button?
- I would like to add a power switch to disconnect the battery. After opening the M5paper I un- and re-plugged the battery, however that was not sufficient for waking the ESP. At least mine was still after that unresponsive.
Thanks!