Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if the brightness is below 30, mixed colors are no longer output #1016

Open
SignumV6 opened this issue May 15, 2020 · 1 comment
Open

if the brightness is below 30, mixed colors are no longer output #1016

SignumV6 opened this issue May 15, 2020 · 1 comment

Comments

@SignumV6
Copy link

In the control, the brightness is regulated by a sensor.
If the brightness falls below 30 (colorCHSV.val = 30), mixed colors are no longer output.
It is e.g. with colorCHSV.hue = 80 pure green displayed.

@5chmidti
Copy link
Contributor

I've ran

  fill_solid(leds, NUM_LEDS, CHSV(80, 255, 20));
  FastLED.show();

and couldn't reproduce your results (tested with FastLED.setBrightness(255);). Yes the color is quite green, but the red part of the led still lit up. If you're using this to control global brightness, don't. Use FastLED.setBrightness(brightness); instead in that case.
A lower brightness/v of a CHSV object results in lower resolutions in hue due to the nature of scale8/scaling bytes, which probably is what you mean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants