Skip to content
Snippets Groups Projects
Commit 46981523 authored by markus's avatar markus
Browse files

Add wait time to loop

parent 6b58b587
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,8 @@ class Clock:
elif button_pressed and v & buttons.TOP_RIGHT != 0:
self.setTime(disp, localtime)
utime.sleep_ms(23)
except KeyboardInterrupt:
for i in range(11):
leds.set(i, (0, 0, 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment