diff --git a/main.py b/main.py index d2edcb5..1bcbb19 100644 --- a/main.py +++ b/main.py @@ -59,6 +59,7 @@ def fade_in_animation(strip, mode, color): strip.setPixelColor(i, Color(randint(0, 255), randint(0, 255), randint(0, 255))) strip.show() time.sleep(1) + debug_print("fade in done") def wheel(pos): if pos < 85: @@ -128,6 +129,7 @@ if __name__ == '__main__': if topic == "server-rack-led/power": global power power = payload + global singleExecute singleExecute = True elif topic == "server-rack-led/rgb":