Closed RobinsonLaw closed 1 year ago
A fix similar to this pull request may be helpful.
The following workaround works without changing the M5EPD library. Same as M5.RTC.setAlarmIRQ()
M5.shutdown(RTC_Date(-1, -1, -1, -1), wakeuptime);
Other notes:
M5.RTC.begin()
in advanceM5.shutdown()
(or M5.disableMainPower()
), not deep sleep. See also: https://community.m5stack.com/topic/2892/m5paper-shutdown-deep-sleep-wakeupRTC wake-up timer can only be accurate to the day, hour and minute, but not to the second.
I have test the following cannot wakeup from specific time