FastLED 3.9.15
|
void nscale8 | ( | CRGB * | leds, |
uint16_t | num_leds, | ||
uint8_t | scale ) |
Scale the brightness of an array of pixels all at once.
This function will eventually fade all the way to black, even if "scale" is not zero.
leds | a pointer to the LED array to scale |
num_leds | the number of LEDs to scale |
scale | how much to scale each LED |
Definition at line 281 of file colorutils.cpp.
Referenced by fade_raw(), and fadeToBlackBy().