added mode

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-25 19:42:41 +02:00
parent 4134a4f0a3
commit 5aed692f55
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ if __name__ == '__main__':
mode = 0
elif payload == "Custom Color":
mode = 1
elif payload == "Strobe":
mode = 2
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
strip.begin()