From 1dbb818ed9f3130063009ee2de8507c59b7590d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 28 Jul 2022 18:29:11 +0200 Subject: [PATCH] added global MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 2 ++ 1 file changed, 2 insertions(+) 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":