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

◆ setDither()

void CFastLED::setDither ( fl::u8 ditherMode = BINARY_DITHER)

Set the dithering mode.

Sets the dithering mode for all added led strips, overriding whatever previous dithering option those controllers may have had.

Parameters
ditherModewhat type of dithering to use, either BINARY_DITHER or DISABLE_DITHER

Definition at line 407 of file FastLED.cpp.hpp.

407 {
409 while(pCur) {
410 pCur->setDither(ditherMode);
411 pCur = pCur->next();
412 }
413}
CLEDController & setDither(fl::u8 ditherMode=BINARY_DITHER) FL_NOEXCEPT
Set the dithering mode for this controller to use.
CLEDController * next() FL_NOEXCEPT
Get the next controller in the linked list after this one.
static CLEDController * head() FL_NOEXCEPT
Get the first LED controller in the linked list of controllers.
fl::CLEDController CLEDController

References fl::CLEDController::head(), fl::CLEDController::next(), and fl::CLEDController::setDither().

+ Here is the call graph for this function: