Make the ring of lights increase clockwise, which seems more natural

This commit is contained in:
Dave Briccetti 2019-07-20 13:43:27 -07:00
parent c76c58f0ed
commit ab3d91776b

View file

@ -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()