FastLED 3.9.15
Loading...
Searching...
No Matches

◆ fill_rainbow() [3/3]

void fl::fill_rainbow ( fl::span< CRGB > leds,
fl::u8 initialhue,
fl::u8 deltahue = 5 )
inline

Fill a range of LEDs with a rainbow of colors.

The colors making up the rainbow are at full saturation and full value (brightness).

Parameters
targetArraya pointer to the LED array to fill
numToFillthe number of LEDs to fill in the array
initialhuethe starting hue for the rainbow
deltahuehow many hue values to advance for each LED

Definition at line 58 of file fill.h.

59 {
60 fill_rainbow(leds.data(), static_cast<int>(leds.size()), initialhue, deltahue);
61}
fl::CRGB leds[NUM_LEDS]
void fill_rainbow(CRGB *targetArray, int numToFill, u8 initialhue, u8 deltahue)
Fill a range of LEDs with a rainbow of colors.
Definition fill.cpp.hpp:29

References fill_rainbow(), FL_NOEXCEPT, and leds.

+ Here is the call graph for this function: