Brightness control for WS28B12 (Neopixel) fixed #314
@@ -17,7 +17,7 @@ else:
|
||||
print("fail")
|
||||
sys.exit(1)
|
||||
|
||||
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT)
|
||||
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS)
|
||||
strip.begin()
|
||||
|
||||
color = Color(red, green, blue)
|
||||
|
||||
Reference in New Issue
Block a user