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

◆ showColorInternal() [2/2]

void CLEDController::showColorInternal ( const struct CRGB & data,
int nLeds,
fl::u8 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 127 of file cled_controller.h.

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

References brightness(), m_enabled, and showColor().

+ Here is the call graph for this function: