changed cooldown

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-25 19:43:55 +02:00
parent c445242819
commit 9d2d931aa9
1 changed files with 2 additions and 2 deletions

View File

@ -62,11 +62,11 @@ def strobe(strip, color):
for i in range(strip.numPixels()):
strip.setPixelColor(i, color)
strip.show()
time.sleep(float(0.01))
time.sleep(float(0.05))
for i in range(strip.numPixels()):
strip.setPixelColor(i, Color(0, 0, 0))
strip.show()
time.sleep(float(0.01))
time.sleep(float(0.05))
def mqtt_on_connect(client, userdata, flags, rc):
client.subscribe("server-rack-led/power")