Refactored and "works for me". I'll ask @b-blake to confirm functionality as well. • Added Network.sync_time() method in network.py • Uses adafruit_ntp + adafruit_connection_manager. • Reads optional NTP_* keys from settings.toml. • Sets rtc.RTC().datetime • Added example examples/fruitjam_time_sync.py (sync once, print localtime). • Added example examples/fruitjam_ntp_settings.toml |
||
|---|---|---|
| .. | ||
| wav | ||
| fruitjam_displaycheck.py | ||
| fruitjam_headphone.py | ||
| fruitjam_ntp_settings.toml | ||
| fruitjam_peripherals.py | ||
| fruitjam_simpletest.py | ||
| fruitjam_speaker.py | ||
| fruitjam_time_sync.py | ||