code format
This commit is contained in:
parent
7ab33baf33
commit
38e18f6528
@ -104,7 +104,6 @@ while True:
|
|||||||
|
|
||||||
# check if it's been long enough since the last Neopixel color change
|
# check if it's been long enough since the last Neopixel color change
|
||||||
if last_neopixel_change_time + NEOPIXEL_CHANGE_DELAY <= now:
|
if last_neopixel_change_time + NEOPIXEL_CHANGE_DELAY <= now:
|
||||||
|
|
||||||
# set the neopixel to the next color of the rainbow
|
# set the neopixel to the next color of the rainbow
|
||||||
rgb_pixel.fill(rainbowio.colorwheel(cur_color_number))
|
rgb_pixel.fill(rainbowio.colorwheel(cur_color_number))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user