From 5aed692f55290ab6650021bc110f4b5be2c26676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 25 Jul 2022 19:42:41 +0200 Subject: [PATCH] added mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index d8e3c23..31eb5e1 100644 --- a/main.py +++ b/main.py @@ -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()