Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 9ff733d

Browse files
committed
Update ex_7segment_clock.py
1 parent 2c9ffd7 commit 9ff733d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_LEDBackpack/ex_7segment_clock.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
segment.writeDigit(4, minute % 10) # Ones
2626
# Toggle colon
2727
segment.setColon(second % 2) # Toggle colon at 1Hz
28-
# Wait one second
29-
time.sleep(1)
28+
# Wait a quarter second (less than 1 second to prevent colon blinking getting in phase with odd/even seconds).
29+
time.sleep(0.25)

0 commit comments

Comments
 (0)