FastLED 3.10.6
Loading...
Searching...
No Matches

◆ showColorInternal() [1/2]

void fl::CLEDController::showColorInternal ( const CRGB & data,
fl::u8 brightness )
inline

Parameters
datathe CRGB color to set the LEDs to
brightnessthe brightness of the LEDs
See also
showColor(const CRGB&, int, CRGB)

Definition at line 296 of file cled_controller.h.

296 {
297 if (getEnabled()) {
298 showColor(data, mLeds.size(), brightness);
299 }
300 }
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.
fl::span< CRGB > mLeds
span of LED data used by this controller

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

+ Here is the call graph for this function: