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

◆ fill_rainbow_circular() [3/3]

void fl::fill_rainbow_circular ( fl::span< CRGB > leds,
fl::u8 initialhue,
bool reversed = false )
inline

Fill a range of LEDs with a rainbow of colors, so that the hues are continuous between the end of the strip and the beginning.

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
reversedwhether to progress through the rainbow hues backwards

Definition at line 79 of file fill.h.

80 {
81 fill_rainbow_circular(leds.data(), static_cast<int>(leds.size()),
82 initialhue, reversed);
83}
fl::CRGB leds[NUM_LEDS]
void fill_rainbow_circular(CRGB *targetArray, int numToFill, u8 initialhue, bool reversed)
Fill a range of LEDs with a rainbow of colors, so that the hues are continuous between the end of the...
Definition fill.cpp.hpp:53

References fill_rainbow_circular(), FL_NOEXCEPT, and leds.

+ Here is the call graph for this function: