We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005aed1 commit 156be57Copy full SHA for 156be57
Digital_Clock_with_CircuitPython/code.py
@@ -59,7 +59,7 @@ def clock_conversion(h, m, set_brightness):
59
if hour_12 == 0:
60
hour_12 = 12
61
display.print(f"{(hour_12):02}:{m:02}") # Use for leading zero re. 09:35
62
- # display.print(f"{hour_12:2}:{m:02}") # uncomment to suppress leading zero
+ # display.print(f"{hour_12:2}:{m:02}") # uncomment to suppress leading zero
63
# # (shows 1:00 instead of 01:00)
64
display.ampm = am_pm
65
if set_brightness:
0 commit comments