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

◆ showLeds()

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

Definition at line 146 of file cled_controller.h.

146 {
147#if FASTLED_HAS_ENGINE_EVENTS
149#endif
150 void* data = beginShowLeds(mLeds.size());
152 endShowLeds(data);
153#if FASTLED_HAS_ENGINE_EVENTS
156#endif
157 }
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
virtual void * beginShowLeds(int size) FL_NOEXCEPT
virtual void endShowLeds(void *data) FL_NOEXCEPT
void showLedsInternal(fl::u8 brightness) FL_NOEXCEPT
Write the data to the LEDs managed by this controller.
fl::span< CRGB > mLeds
span of LED data used by this controller
static void onEndShowLeds() FL_NOEXCEPT
static void onEndFrame() FL_NOEXCEPT
static void onBeginFrame() FL_NOEXCEPT

References beginShowLeds(), brightness, endShowLeds(), FL_NOEXCEPT, 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: