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

◆ clearData()

void CFastLED::clearData ( )

Clear out the local data array.

Definition at line 243 of file FastLED.cpp.

243 {
244 CLEDController *pCur = CLEDController::head();
245 while(pCur) {
246 pCur->clearLedDataInternal();
247 pCur = pCur->next();
248 }
249}
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: