FastLED 3.9.15
|
void fill_gradient_RGB | ( | CRGB * | leds, |
uint16_t | numLeds, | ||
const CRGB & | c1, | ||
const CRGB & | c2, | ||
const CRGB & | c3, | ||
const CRGB & | c4 ) |
Fill a range of LEDs with a smooth RGB gradient between four RGB colors.
leds | a pointer to the LED array to fill |
numLeds | the number of LEDs to fill |
c1 | the starting color in the gradient |
c2 | the first middle color for the gradient |
c3 | the second middle color for the gradient |
c4 | the end color for the gradient |
Definition at line 239 of file colorutils.cpp.
References fill_gradient_RGB(), and leds.