- 
                Notifications
    You must be signed in to change notification settings 
- Fork 12
Open
Description
Subject of the issue
Using the coin cell battery. I ran the provided example code to first configure the time.
Set and Forget!
Once the RTC's time and date register have been set – using either the autoTime or setTime functions – you may never have to set the clock again! Consider commenting out the autoTime or setTime entirely once you've perfectly configured the clock.
Per the docs above, I have commented out the autoTime() call after setting it once. However, when I run, the clock is off.
Your workbench
- What development board or microcontroller are you using? XIAO ESP32C3
- What version of hardware or breakout board are you using? Not sure
- How is the breakout board wired to your microcontroller? wired per diagram in hookup guide
- How is everything being powered? USB power to board
- Are there any additional details that may help us help you? N/A
Steps to reproduce
- Run the sample
- comment out rtc.autoTime()
- Re-run the code
- Note, the clock time has reverted to some earlier date/time.
Expected behavior
With the coin cell battery, the RTC time should be maintained.
Actual behavior
Time is not maintained. It resets to whatever time was used at compile time it would seem.
How to debug this problem? I tested the battery and the voltage is fine. Battery is inserted in correct orientation.
Metadata
Metadata
Assignees
Labels
No labels