FastLED 3.10.8
Loading...
Searching...
No Matches

◆ showLeds()

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

Definition at line 242 of file cled_controller.h.

242 {
244 void* data = beginShowLeds(mLeds.size());
246 endShowLeds(data);
248#if FASTLED_HAS_ENGINE_EVENTS
250#endif
251 }
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_IF_NOT_AVR void * beginShowLeds(int size) FL_NO_EXCEPT
VIRTUAL_IF_NOT_AVR 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: