maybe fixxed power

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 21:39:21 +02:00
parent 660fb1dd1c
commit 22545984bf
1 changed files with 6 additions and 0 deletions

View File

@ -149,6 +149,12 @@ if __name__ == '__main__':
return 'No power argument specified'
elif power == "":
return 'No power argument specified'
elif power == "True":
power = True
return 'Power: ON'
elif power == "False":
power = False
return 'Power: OFF'
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
strip.begin()