diff --git a/main.py b/main.py index 31eb5e1..e044e12 100644 --- a/main.py +++ b/main.py @@ -66,6 +66,7 @@ def strobe(strip, color): for i in range(strip.numPixels()): strip.setPixelColor(i, Color(0, 0, 0)) strip.show() + time.sleep(float(0.01)) def mqtt_on_connect(client, userdata, flags, rc): client.subscribe("server-rack-led/power")