parent
7bdbc9a737
commit
660fb1dd1c
4
main.py
4
main.py
|
@ -154,14 +154,14 @@ if __name__ == '__main__':
|
|||
strip.begin()
|
||||
|
||||
mode = 0
|
||||
power = True
|
||||
power = "True"
|
||||
|
||||
threading.Thread(target=lambda: app.run(host='0.0.0.0', port=80)).start()
|
||||
|
||||
try:
|
||||
while True:
|
||||
print("running")
|
||||
if power == True:
|
||||
if power == "True":
|
||||
if mode == 0:
|
||||
rainbowCycle(strip)
|
||||
elif mode == 1:
|
||||
|
|
Loading…
Reference in New Issue