FastLED
3.10.6
Loading...
Searching...
No Matches
◆
fill_solid()
[1/3]
void fl::fill_solid
(
CHSV
*
targetArray
,
int
numToFill
,
const
CHSV
&
color
)
Fill a range of LEDs with a solid color.
Parameters
targetArray
a pointer to the LED array to fill
numToFill
the number of LEDs to fill in the array
color
the color to fill with
Definition at line
16
of file
fill.cpp.hpp
.
17
{
18
for
(
int
i = 0; i < numToFill; ++i) {
19
targetArray[i] =
color
;
20
}
21
}
fl::color
Definition
rgbw.h:9
fl
Generated on Sun Oct 4 2026 23:09:07 for FastLED by
1.13.2