Would it be possible to apply .setCorrection to a specific range of LEDs only? My current setup is 3 WS2811 LED strips daisy chained together, and I’d want to color correct the second strip only (leds[100] to leds [200] only). Is there a way to do this?
Using FastLED.setCorrection would color correct all the strips which I do not want.
I don’t believe that’s possible. Instead you can use something like fadeUsingColor for just the range you need, and run it right before you call http://FastLED.show().
If the colormask is CRGB( 200, 100, 50) then the pixels’ red will be faded to 200/256ths, the green to 100/256ths, and the blue to 50/256ths.
//manipulate leds from index 9 to 29
fadeUsingColor( leds+10, 20, CRGB(200,100,50) );
For Marc’s suggestion to fully work, you have to completely regenerate the values in your leds arrays for each displayed frame, since fadeUsingColor is destructive - or alternatively you could have an leds array you do all your work in, then before show you copy that over to the output array of leds, call fadeUsingColor, then call show.