parent
b098463363
commit
8259754a7b
1
main.py
1
main.py
|
@ -93,7 +93,6 @@ if __name__ == '__main__':
|
||||||
mode = 0
|
mode = 0
|
||||||
elif payload == "Custom Color":
|
elif payload == "Custom Color":
|
||||||
mode = 1
|
mode = 1
|
||||||
client.publish("server-rack-led/rgb", "255,255,255")
|
|
||||||
|
|
||||||
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