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

◆ showLeds()

VIRTUAL_IF_NOT_AVR void fl::CLEDController::showLeds ( fl::u8 brightness)
inline

Definition at line 243 of file cled_controller.h.

243 {
245 void* data = beginShowLeds(mLeds.size());
247 endShowLeds(data);
249#if FASTLED_HAS_ENGINE_EVENTS
251#endif
252 }
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
void showLedsInternal(fl::u8 brightness) FL_NO_EXCEPT
Write the data to the LEDs managed by this controller.
virtual void * beginShowLeds(int size) FL_NO_EXCEPT
virtual void endShowLeds(void *data) FL_NO_EXCEPT
fl::span< CRGB > mLeds
span of LED data used by this controller
static void onBeginFrame() FL_NO_EXCEPT
static void onEndShowLeds() FL_NO_EXCEPT
static void onEndFrame() FL_NO_EXCEPT

References beginShowLeds(), brightness, endShowLeds(), fl::FL_NO_EXCEPT, mLeds, fl::EngineEvents::onBeginFrame(), fl::EngineEvents::onEndFrame(), fl::EngineEvents::onEndShowLeds(), showLedsInternal(), and VIRTUAL_IF_NOT_AVR.

Referenced by clearLeds(), and fl::Channel::showLeds().

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