Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-28 18:31:58 +02:00
parent 1dbb818ed9
commit 5cca923ba3
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def debug_print(message: str):
def fade_in_animation(strip, mode, color):
if mode == 0:
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()
elif mode == 1:
for i in range(strip.numPixels()):