It's more than just an idea, it's a good idea. They already have it in the M5 Unified library, they just need to backport it to Core2. I filed a pull request. I hope they accept it:
https://github.com/m5stack/M5Core2/pull/138
I thought that you could use the RTC::ReadReg method directly to read the bit, something like return Rtc.ReadReg(0x02) & 0x80;
, but unfortunately the method is private.
Hope this helps
--Louis
L
Best posts made by LBertrand
-
RE: Expose VL bit flag for RTC
-
RE: M5Burner cannot publish BIN file due to DBus error
@kuriko No, that didn't work.
I don't think it's worth pursuing further. It
seems to be a problem with Chromium. M5burner version 202501081800 works fine for me now.
Thanks