Skip to content

Commit

Permalink
Merge pull request #44 from sinofp/sinofp-no-more-2000-01-01
Browse files Browse the repository at this point in the history
Set PCF85063A after `ntptime.settime()`
  • Loading branch information
Gadgetoid authored Oct 11, 2023
2 parents 311ed59 + c91376c commit a8552a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions badger_os/examples/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
display.connect()
if display.isconnected():
ntptime.settime()
badger2040.pico_rtc_to_pcf()
except (RuntimeError, OSError) as e:
print(f"Wireless Error: {e.value}")

Expand Down

0 comments on commit a8552a5

Please sign in to comment.