diff --git a/main.py b/main.py index fab114b..d2edcb5 100644 --- a/main.py +++ b/main.py @@ -34,14 +34,9 @@ def debug_print(message: str): def fade_in_animation(strip, mode, color): if mode == 0: - for j in range(256*10): - if mode > 0: - break - elif power == "False": - break - for i in range(strip.numPixels()): - strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels()) + j) & 255)) - strip.show() + for i in range(strip.numPixels()): + strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels()) + j) & 255)) + strip.show() elif mode == 1: for i in range(strip.numPixels()): strip.setPixelColor(i, color)