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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login