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

◆ endShowLeds()

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

Reimplemented in RGBWEmulatedController< CONTROLLER, RGB_ORDER >.

Definition at line 445 of file cled_controller.h.

445 {
446 // By default recieves the integer that beginShowLeds() emitted.
447 //For async controllers this should be used to signal the controller
448 // to begin transmitting the current frame to the leds.
449 uintptr_t d = fl::ptr_to_int(data);
450 setDither(static_cast<fl::u8>(d));
451 }
CLEDController & setDither(fl::u8 ditherMode=BINARY_DITHER) FL_NO_EXCEPT
Set the dithering mode for this controller to use.
unsigned char u8
Definition stdint.h:131
uptr ptr_to_int(T *ptr) FL_NO_EXCEPT
Definition bit_cast.h:71
fl::uptr uintptr_t
Definition stdint.h:223

References fl::FL_NO_EXCEPT, 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: