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

◆ showColorInternal() [1/2]

void CLEDController::showColorInternal ( const struct CRGB & data,
int nLeds,
uint8_t brightness )
inline

Will scale for color correction and temperature. Can accept LED data not attached to this controller.

Parameters
datathe CRGB color to set the LEDs to
nLedsthe number of LEDs in the data array
brightnessthe brightness of the LEDs
See also
showColor(const struct CRGB&, int, CRGB)

Definition at line 126 of file cled_controller.h.

126 {
127 if (m_enabled) {
128 showColor(data, nLeds, brightness);
129 }
130 }
UISlider brightness("Brightness", 255, 0, 255, 1)
virtual void showColor(const CRGB &data, int nLeds, uint8_t brightness)=0
Set all the LEDs to a given color.

References brightness, m_enabled, and showColor().

Referenced by CFastLED::showColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: