added app runner

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 20:57:58 +02:00
parent 39e4552a36
commit 7c6701db29
1 changed files with 3 additions and 0 deletions

View File

@ -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.begin()
app.run(host='0.0.0.0', port=80)
try:
while True:
if power == True: