FastLED 3.10.6
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 276 of file cled_controller.h.

276 {
277 if (getEnabled()) {
278 showColor(data, nLeds, brightness);
279 }
280 }
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
bool getEnabled() FL_NO_EXCEPT
virtual void showColor(const CRGB &data, int nLeds, fl::u8 brightness) FL_NO_EXCEPT=0
Set all the LEDs to a given color.

References brightness, fl::FL_NO_EXCEPT, getEnabled(), and showColor().

Referenced by CFastLED::showColor().

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