diff --git a/main.py b/main.py index 1bcbb19..bc15295 100644 --- a/main.py +++ b/main.py @@ -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()):