Commit 3ed2f8ed authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Clear colors on init

parent 3a257c1a
......@@ -34,6 +34,7 @@ class ColorManager(Thread):
def __init__(self):
super().__init__()
self.spi.open(1, 0)
ws2812.write2812(self.spi, [(0,0,0) * 4])
def get_color(self):
if self.current_color.green + self.current_rand > 80:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment