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