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) rainbowCycle(strip)
elif mode == 1: elif mode == 1:
setColor(strip, Color(int(r), int(g), int(b))) setColor(strip, Color(int(r), int(g), int(b)))
time.sleep(1)
else: else:
setColor(strip, Color(0,0,0)) setColor(strip, Color(0,0,0))
time.sleep(1)
except KeyboardInterrupt: except KeyboardInterrupt:
client.publish("server-rack-led/power", "False") client.publish("server-rack-led/power", "False")