Make the ring of lights increase clockwise, which seems more natural
This commit is contained in:
parent
c76c58f0ed
commit
ab3d91776b
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ while True:
|
|||
pixels.fill((0, 0, 0))
|
||||
|
||||
for led_idx in range(int(hue_fill_fraction * NUM_LEDS) + 1):
|
||||
pixels[led_idx] = hues[hue_idx]
|
||||
pixels[9 - led_idx] = hues[hue_idx]
|
||||
|
||||
pixels.show()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue