Update main.py

master
Ebbe Baß 2021-11-09 18:29:50 +01:00
parent ae2598895e
commit 395584ef70
1 changed files with 5 additions and 2 deletions

View File

@ -14,6 +14,8 @@ LED_BRIGHTNESS = 255 # Set to 0 for darkest and 255 for brightest
LED_INVERT = False # True to invert the signal (when using NPN transistor level shift)
LED_CHANNEL = 0 # set to '1' for GPIOs 13, 19, 41, 45 or 53
GPIO.cleanup()
led_power = True
try:
@ -135,3 +137,4 @@ if __name__ == '__main__':
except KeyboardInterrupt:
setColor(strip, Color(0,0,0))
GPIO.cleanup()