Skip to content
Prev Previous commit
Next Next commit
remove while True
  • Loading branch information
anecdata authored Mar 17, 2024
commit 1c801d4affd34f936441731d1081590afda93c78
4 changes: 1 addition & 3 deletions examples/ntp_connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@
# adjust tz_offset for locale...
ntp = adafruit_ntp.NTP(socket, tz_offset=-5)

while True:
print(ntp.datetime)
time.sleep(5)
print(ntp.datetime)