Commit b2855ca7 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Fix LED RGB color

The order is actually GRB
parent 0a132c72
......@@ -12,15 +12,15 @@ import ws2812
def get_color():
rand = randint(0, 10)
if rand < 5:
return (255, 248, 255)
return (248, 255, 255)
elif rand == 6:
return (255, 111, 0)
return (111, 255, 0)
elif rand == 7:
return (255, 234, 0)
return (234, 255, 0)
elif rand == 8:
return (255, 87, 34)
return (87, 255, 34)
else:
return (213, 0, 0)
return (0, 213, 0)
def light_flame():
......
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