Skip to content

Commit 5f56ecb

Browse files
authored
Update ntp_connection_manager.py
pre-commit fixes
1 parent 21d8f50 commit 5f56ecb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

examples/ntp_connection_manager.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# SPDX-FileCopyrightText: 2024 Justin Myers for Adafruit Industries
2+
# SPDX-FileCopyrightText: 2024 anecdata for Adafruit Industries
3+
#
4+
# SPDX-License-Identifier: Unlicense
5+
6+
"""Print out time based on NTP."""
7+
18
import time
29
import adafruit_connection_manager
310
import adafruit_ntp
@@ -36,4 +43,4 @@
3643

3744
while True:
3845
print(ntp.datetime)
39-
time.sleep(5)
46+
time.sleep(5)

0 commit comments

Comments
 (0)