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 214 of file cled_controller.h.

214 {
216 // By default, emit an integer. This integer will, by default, be passed back.
217 // If you override beginShowLeds() then
218 // you should also override endShowLeds() to match the return state.
219 //
220 // For async led controllers this should be used as a sync point to block
221 // the caller until the leds from the last draw frame have completed drawing.
222 // for each controller:
223 // beginShowLeds();
224 // for each controller:
225 // showLeds();
226 // for each controller:
227 // endShowLeds();
228 uintptr_t d = getDither();
229 void* out = reinterpret_cast<void*>(d);
230 return out;
231 }
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: