removed sleep in loop

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-23 09:10:56 +02:00
parent 2ba7070e9d
commit be6f16f968
1 changed files with 0 additions and 2 deletions

View File

@ -121,10 +121,8 @@ if __name__ == '__main__':
rainbowCycle(strip)
elif mode == 1:
setColor(strip, Color(int(r), int(g), int(b)))
time.sleep(1)
else:
setColor(strip, Color(0,0,0))
time.sleep(1)
except KeyboardInterrupt:
client.publish("server-rack-led/power", "False")