M5.shutdown() not working on M5Paper
schedule display last edited by
I am using M5Paper but M5.shutdown() is not working even the device is disconnected from the USB. The Loop still running and M5Paper still remains On.
How to shutdown M5Paper and wake up again after specific time intervals?
I am using the sample code from M5 Stack [https://docs.m5stack.com/en/api/m5paper/system_api](link url)
canvas.drawString("Press PWR Btn for sleep!", 45, 350);
canvas.drawString("after 5 sec wakeup!", 70, 450);
canvas.drawString("I'm going to sleep.zzzZZZ~", 45, 550);
felmue last edited by felmue
Have you tried the RTC example (w/o modifications)?
In your code, why did you add the two
gpio_xxxlines? I think they are the reason M5Paper cannot shutdown.
Also this thread might be helpful.