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

◆ showColor()

virtual void CLEDController::showColor ( const CRGB & data,
int nLeds,
uint8_t brightness )
pure virtual

Set all the LEDs to a given color.

Parameters
datathe CRGB color to set the LEDs to
nLedsthe number of LEDs to set to this color
scalethe rgb scaling value for outputting color

Implemented in CPixelLEDController< RGB_ORDER, LANES, MASK >, CPixelLEDController< GRB, CONTROLLER::LANES_VALUE, CONTROLLER::MASK_VALUE >, CPixelLEDController< GRB, WS2812Controller800Khz< DATA_PIN, RGB >::LANES_VALUE, WS2812Controller800Khz< DATA_PIN, RGB >::MASK_VALUE >, CPixelLEDController< RGB >, and CPixelLEDController< RGB_ORDER, WS2812Controller800Khz< DATA_PIN, RGB >::LANES_VALUE, WS2812Controller800Khz< DATA_PIN, RGB >::MASK_VALUE >.

References brightness.

Referenced by showColorInternal(), and showColorInternal().

+ Here is the caller graph for this function: