Skip to content
Snippets Groups Projects
Commit 6ea4ee5b authored by Stefan Haun's avatar Stefan Haun
Browse files

Update clock only 4 times per second

parent 9d36b257
No related branches found
No related tags found
No related merge requests found
...@@ -202,6 +202,8 @@ class Clock: ...@@ -202,6 +202,8 @@ class Clock:
self.setTheme(self.theme + 1) self.setTheme(self.theme + 1)
self.writeConfig() self.writeConfig()
utime.sleep_ms(250)
except KeyboardInterrupt: except KeyboardInterrupt:
for i in range(11): for i in range(11):
leds.set(i, (0, 0, 0)) leds.set(i, (0, 0, 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment