FastLED 3.10.8
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 553 of file FastLED.cpp.hpp.

553 {
555 while(pCur) {
556 pCur->setDither(ditherMode);
557 pCur = pCur->next();
558 }
559}
static CLEDController * head() FL_NO_EXCEPT
Get the first LED controller in the linked list of controllers.
CLEDController & setDither(fl::u8 ditherMode=BINARY_DITHER) FL_NO_EXCEPT
Set the dithering mode for this controller to use.
CLEDController * next() FL_NO_EXCEPT
Get the next controller in the linked list after this one.
fl::CLEDController CLEDController

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

+ Here is the call graph for this function: