FastLED 3.10.8
Loading...
Searching...
No Matches

◆ fill_solid() [2/3]

void fl::fill_solid ( CRGB * targetArray,
int numToFill,
const CRGB & color )

Fill a range of LEDs with a solid color.

Parameters
targetArraya pointer to the LED array to fill
numToFillthe number of LEDs to fill in the array
colorthe color to fill with

Definition at line 10 of file fill.cpp.hpp.

11 {
12 for (int i = 0; i < numToFill; ++i) {
13 targetArray[i] = color;
14 }
15}

References FL_NO_EXCEPT.

Referenced by fl::Pacifica::draw(), fill_solid(), and fl::NoisePalette::SetupBlackAndWhiteStripedPalette().

+ Here is the caller graph for this function: