Merge pull request #314 from Piranit/master

Brightness control for WS28B12 (Neopixel) fixed
This commit was merged in pull request #314.
This commit is contained in:
Vitor de Miranda Henrique
2020-09-15 09:55:09 -05:00
committed by GitHub

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)