m5stack / M5EPD

M5Paper Arduino Library
MIT License
165 stars 53 forks source link

BM8563 wakeup from time #26

Closed RobinsonLaw closed 1 year ago

RobinsonLaw commented 3 years ago

I have test the following cannot wakeup from specific time

    wakeuptime.hour = 10;
    wakeuptime.min = 34;
    wakeuptime.sec = 00;
    M5.shutdown(wakeuptime);
estshorter commented 3 years ago

A fix similar to this pull request may be helpful.

cat-in-136 commented 2 years ago

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:

Tinyu-Zhao commented 1 year ago

RTC wake-up timer can only be accurate to the day, hour and minute, but not to the second.