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

◆ clearData()

void CFastLED::clearData ( )

Clear out the local data array.

Definition at line 226 of file FastLED.cpp.

226 {
227 CLEDController *pCur = CLEDController::head();
228 while(pCur) {
229 pCur->clearLedDataInternal();
230 pCur = pCur->next();
231 }
232}
CLEDController * next()
Get the next controller in the linked list after this one.
static CLEDController * head()
Get the first LED controller in the linked list of controllers.
void clearLedDataInternal(int nLeds=-1)
Zero out the LED data managed by this controller.

References CLEDController::clearLedDataInternal(), CLEDController::head(), and CLEDController::next().

Referenced by clear().

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