|
FastLED 3.9.15
|
| void fl::fill_gradient_RGB | ( | CRGB * | leds, |
| u16 | startpos, | ||
| CRGB | startcolor, | ||
| u16 | endpos, | ||
| CRGB | endcolor ) |
Fill a range of LEDs with a smooth RGB gradient between two RGB colors.
Unlike HSV, there is no "color wheel" in RGB space, and therefore there's only one "direction" for the gradient to go. This means there's no TGradientDirectionCode parameter for direction.
| leds | a pointer to the LED array to fill |
| startpos | the starting position in the array |
| startcolor | the starting color for the gradient |
| endpos | the ending position in the array |
| endcolor | the end color for the gradient |
Definition at line 107 of file fill.cpp.hpp.
Referenced by FL_DISABLE_WARNING().
Here is the caller graph for this function: