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

Fix LED RGB color

The order is actually GRB
parent 0a132c72
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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():