Skip to content

Commit

Permalink
Merge pull request #29 from lwr20/main
Browse files Browse the repository at this point in the history
Use hue
  • Loading branch information
helgibbons authored Dec 11, 2024
2 parents 296dd34 + fbed06e commit 819346e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropython/examples/plasma_2350/rainbow.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

for i in range(NUM_LEDS):
hue = float(i) / NUM_LEDS
led_strip.set_hsv(i, offset, 1.0, 1.0)
led_strip.set_hsv(i, hue+offset, 1.0, 1.0)

time.sleep(1.0 / 60)

0 comments on commit 819346e

Please sign in to comment.