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

◆ endShowLeds()

virtual void fl::CLEDController::endShowLeds ( void * data)
inlinevirtual

Reimplemented in RGBWEmulatedController< CONTROLLER, RGB_ORDER >.

Definition at line 334 of file cled_controller.h.

334 {
335 // By default recieves the integer that beginShowLeds() emitted.
336 //For async controllers this should be used to signal the controller
337 // to begin transmitting the current frame to the leds.
338 uintptr_t d = fl::ptr_to_int(data);
339 setDither(static_cast<fl::u8>(d));
340 }
CLEDController & setDither(fl::u8 ditherMode=BINARY_DITHER) FL_NOEXCEPT
Set the dithering mode for this controller to use.
unsigned char u8
Definition s16x16x4.h:132
uptr ptr_to_int(T *ptr) FL_NOEXCEPT
Definition bit_cast.h:71
fl::uptr uintptr_t
Definition s16x16x4.h:224

References FL_NOEXCEPT, fl::ptr_to_int(), and setDither().

Referenced by CFastLED::show(), CFastLED::showColor(), and showLeds().

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