adafruit / adafruit/Adafruit_Wippersnapper_Arduino
Offline Mode should fall back to soft RTC if fails to initialise config defined RTC
- Dominant language
- C++
- Stars
- 54
- Forks
- 56
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 11
Description
If a user misconfigures an RTC in config, we could warn them in serial but continue with soft RTC rather than them come back to find no data on the SD card.
Maybe support lowercase like the component names too.
We could also detect the default time of new RTCs and warn the user to update the RTC for more accurate timestamp readings. The DS3231 appears to default to :1740604749 for the first reading in offline mode
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Trace the RTC configuration and initialization entry points, then follow the offline-mode path that writes timestamps to the SD card. Define the warning and fallback behavior for failed or misconfigured RTCs, including the proposed lowercase handling and default-time warning, before implementing and testing the changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100