parent
4134a4f0a3
commit
5aed692f55
2
main.py
2
main.py
|
@ -98,6 +98,8 @@ if __name__ == '__main__':
|
||||||
mode = 0
|
mode = 0
|
||||||
elif payload == "Custom Color":
|
elif payload == "Custom Color":
|
||||||
mode = 1
|
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 = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
|
||||||
strip.begin()
|
strip.begin()
|
||||||
|
|
Loading…
Reference in New Issue