RTC (Without battery backup)
-
In hunting down other issues, I came across several statements that the M5STACK Fire doesn't have a Real Time Clock (RTC). However, if I set the RTC with machine.RTC().dateTime(<Time tuple>), it seems to work. If I think read back with machine.RTC().dateTime(), it seems to be keeping time just fine.
So is the issue that there isn't a battery-backup, and I'll have to set it each time I wake (which is just fine), or that the software for the RTC really doesn't work?
-
Hello @toddkrein
you are correct, there is no RTC battery backup in M5Stack Fire.
Please note: In sleep modes time accuracy might be affected depending on the clock source used.
Please also refer to:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system_time.htmlCheers
Felix