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

◆ beginShowLeds()

virtual void * CLEDController::beginShowLeds ( int size)
inlinevirtual

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

Definition at line 220 of file cled_controller.h.

220 {
222 // By default, emit an integer. This integer will, by default, be passed back.
223 // If you override beginShowLeds() then
224 // you should also override endShowLeds() to match the return state.
225 //
226 // For async led controllers this should be used as a sync point to block
227 // the caller until the leds from the last draw frame have completed drawing.
228 // for each controller:
229 // beginShowLeds();
230 // for each controller:
231 // showLeds();
232 // for each controller:
233 // endShowLeds();
234 uintptr_t d = getDither();
235 void* out = reinterpret_cast<void*>(d);
236 return out;
237 }
virtual int size()
How many LEDs does this controller manage?
uint8_t getDither()
Get the dithering option currently set for this controller.
#define FASTLED_UNUSED(x)
Definition unused.h:3

References FASTLED_UNUSED, getDither(), and size().

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

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