parent
ca90f36f07
commit
60e942431c
1
main.py
1
main.py
|
@ -223,6 +223,7 @@ if __name__ == '__main__':
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
client.publish("server-rack-led/power", "False")
|
||||||
client.loop_stop()
|
client.loop_stop()
|
||||||
setColor(strip, Color(0,0,0))
|
setColor(strip, Color(0,0,0))
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
|
|
Loading…
Reference in New Issue