Adafruit_NeoPixel.h brightness control

I am using the Adafruit_NeoPixel.h library with a WS2812 LED ring. Everything is working as I had expected except when using a single color the brightness stays the same with pixels.setPixelColor(incr, pixels.Color(10, 0, 0)); and pixels.setPixelColor(incr, pixels.Color(250, 0, 0));

How cam I fade a primary color?

Please show your complete code, or a minimally reduced example that exhibits the same behaviour. I strongly suspect you've applied a global brightness, or done something else that inhibits the setting of specific colour intensity.
Thank you

I wrote a sample sketch to show the effect, and lo and behold the brightness of the primary colors did change! So I will check my main sketch again.

Thanks for your help.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.