Skip to content

Commit

Permalink
Bug: ThingM Blink was not blinking.
Browse files Browse the repository at this point in the history
  • Loading branch information
JnyJny committed Feb 5, 2022
1 parent c274b08 commit d8a2edd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions busylight/lights/thingm/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,26 @@ def __init__(self):
action = ActionField(48, 8)

arg0 = StateField(40, 8)
red = ColorField(40, 8)
play = StateField(40, 8)

arg1 = StateField(32, 8)
green = ColorField(32, 8)
start = StateField(32, 8)

arg2 = StateField(24, 8)
blue = ColorField(24, 8)
stop = StateField(24, 8)

arg3 = StateField(16, 8)
count = StateField(16, 8)

arg4 = StateField(8, 8)
fade = FadeField(8, 16)

arg5 = StateField(0, 8)
leds = LEDField(0, 8)
line = StateField(0, 8)

@property
def color(self) -> Tuple[int, int, int]:
Expand Down

0 comments on commit d8a2edd

Please sign in to comment.