Thanks for all the great posts of projects on here. I have a simple question as a newer user of the FastLED. Thank you in advance for considering the question!
Say I have a long string of leds and I want the first 100 to be one color, then the following 50 to be another color, then the last 20 to be a different color. Is there a simple way to define these three groups without listing every address in separate arrays?
I might try to move a pattern across the groups later, but first, just want to add fill_solid to multiple contiguous elements.
@Jeremy_Spencer I’m playing with the array functions and understand the basics of a set. On my string, I can take the NUM_LEDS and subtract from it, thus limiting the effect to the front of a string:
NUM_LEDS-50
But how do I position the start of an effect to be a number of pixels past the start of the strip?
@Jeremy_Spencer Thank you for pulling up that post from Daniel! I’m very appreciative for your help.
Daniel’s opening was the missing info I needed to understanding the whole RGBSet reference.
"Wouldn’t it be nice to work on entire sets of leds at once? People keep asking for it, and I think I found a way to do it that I’m happy enough with. Imagine if you could write: