Brightness control for WS28B12 (Neopixel) fixed #314

Merged
Piranit merged 1 commits from master into master 2020-09-15 15:55:09 +01:00

View File

@@ -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)