parent
39e4552a36
commit
7c6701db29
3
main.py
3
main.py
|
@ -141,6 +141,9 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
|
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
|
||||||
strip.begin()
|
strip.begin()
|
||||||
|
|
||||||
|
app.run(host='0.0.0.0', port=80)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
if power == True:
|
if power == True:
|
||||||
|
|
Loading…
Reference in New Issue