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

◆ showColorInternal() [2/2]

void fl::CLEDController::showColorInternal ( const 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 CRGB&, int, CRGB)

Definition at line 181 of file cled_controller.h.

181 {
182 if (mEnabled) {
183 showColor(data, nLeds, brightness);
184 }
185 }
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
virtual void showColor(const CRGB &data, int nLeds, fl::u8 brightness) FL_NOEXCEPT=0
Set all the LEDs to a given color.

References brightness, FL_NOEXCEPT, mEnabled, and showColor().

Referenced by CFastLED::showColor().

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