parent
1dbb818ed9
commit
5cca923ba3
2
main.py
2
main.py
|
@ -35,7 +35,7 @@ def debug_print(message: str):
|
||||||
def fade_in_animation(strip, mode, color):
|
def fade_in_animation(strip, mode, color):
|
||||||
if mode == 0:
|
if mode == 0:
|
||||||
for i in range(strip.numPixels()):
|
for i in range(strip.numPixels()):
|
||||||
strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels()) + j) & 255))
|
strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels())) & 255))
|
||||||
strip.show()
|
strip.show()
|
||||||
elif mode == 1:
|
elif mode == 1:
|
||||||
for i in range(strip.numPixels()):
|
for i in range(strip.numPixels()):
|
||||||
|
|
Loading…
Reference in New Issue