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

◆ endShowLeds()

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

Reimplemented in RGBWEmulatedController< CONTROLLER, RGB_ORDER >, WS2816Controller< DATA_PIN, RGB_ORDER >, and WS2816Controller< DATA_PIN, RGB_ORDER >.

Definition at line 241 of file cled_controller.h.

241 {
242 // By default recieves the integer that beginShowLeds() emitted.
243 //For async controllers this should be used to signal the controller
244 // to begin transmitting the current frame to the leds.
245 uintptr_t d = fl::ptr_to_int(data);
246 setDither(static_cast<fl::u8>(d));
247 }
CLEDController & setDither(fl::u8 ditherMode=BINARY_DITHER)
Set the dithering mode for this controller to use.
unsigned char u8
Definition int.h:17
uptr ptr_to_int(T *ptr) noexcept
Definition bit_cast.h:65

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

Referenced by showLeds().

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