parent
22545984bf
commit
e65c9b02b5
4
main.py
4
main.py
|
@ -150,10 +150,10 @@ if __name__ == '__main__':
|
|||
elif power == "":
|
||||
return 'No power argument specified'
|
||||
elif power == "True":
|
||||
power = True
|
||||
power = "True"
|
||||
return 'Power: ON'
|
||||
elif power == "False":
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue