Hi,
what ist the fastest way to set every index of a CRGB array to black?
I know FastLED.clear(), but in this case i only want to “clear” a specific CRGB-array.
Greetz Chris
Hi,
what ist the fastest way to set every index of a CRGB array to black?
I know FastLED.clear(), but in this case i only want to “clear” a specific CRGB-array.
Greetz Chris
This is the easiest, not sure if it’s the fastest: fill_solid(leds, NUM_LEDS, CRGB::Black);
Yeah, there’s also: memset(leds, 0, NUM_LEDS * 3);
I use FastLEDs memset8. 