Update on ‘dim yellow’ fading out to pure red
Just a note to let folks know that @Daniel_Garcia and I believe that we have a handle on the exact math that is causing some ‘yellow’ hues to dim down to ‘pure red’ at low brightnesses / values.
I won’t go into the long annoying details of it, but the short annoying details are these: if you start with, say, CRGB( 200, 100, 0) [an yellowy orange], and dim it to 0.5% of it’s brightness, the red component gets rounded down to “1” (fine), but the green component gets rounded down to “0” (oops) and you get CRGB( 1, 0, 0) [pure red]. For speed, we do everything with integers, and the integers are rounding down, and that’s what we have to address.
At this point, no library update is available yet, but we’re working on the problem. Thanks to everyone who shared photos of this, and thanks for your patience as we work on improving the library.