void fadeToBlackBy | ( | CRGB * | leds, |
uint16_t | num_leds, | ||
uint8_t | fadeBy ) |
Reduce the brightness of an array of pixels all at once.
This function will eventually fade all the way to black.
leds | a pointer to the LED array to fade |
num_leds | the number of LEDs to fade |
fadeBy | how much to fade each LED |
Definition at line 270 of file colorutils.cpp.
References leds, and nscale8().
Referenced by confetti(), fl::DemoReel100::confetti(), fl::DemoReel100::juggle(), juggle(), loop(), fl::DemoReel100::sinelon(), and sinelon().