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

◆ clearData()

void CFastLED::clearData ( )

Clear out the local data array.

Definition at line 259 of file FastLED.cpp.

259 {
260 CLEDController *pCur = CLEDController::head();
261 while(pCur) {
262 pCur->clearLedDataInternal();
263 pCur = pCur->next();
264 }
265}
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: