I am attempting to build a clock using 3 strips of WS2812 all of different lengths from one arduino using 3 pins. When the seconds get to zero I want to be able to do the command FastLED.clear() but only on one strip not all 3. Is this possible? I have looked at the library examples but I cant seem to find any examples that do this. Any help would be very much appreciated.
Thanks John, I did try this but I wanted all the LEDs of one strip to blank at the same time as it does with FastLED.clear(), there are 180 LEDs for seconds and the update was not fast enough to clear all at the same time.
@paul_pritchard fill_solid is probably what you want to use, but your if loop would work if you take the http://FastLED.show() out of the loop so it’s not called 180 times. By updating the data for all 180 pixels first (with the if loop) and then calling http://FastLED.show() just once right after the loop it will be fast enough (basically the same as fill_solid).