Clear all LEDs (set to black)
- Parameters
-
| writeToStrip | If true, immediately write to strip (call show()) |
Implements fl::IFastLED.
Definition at line 60 of file adapter.cpp.hpp.
60 {
64 return;
65 }
66
68
71 }
72 } else {
73
75 for (
size_t i = 0; i <
numLeds; i++) {
77 }
78 }
79
80 if (writeToStrip) {
82 }
83}
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
CLEDController * controller
void show(fl::u8 scale) FL_NO_EXCEPT
Update all our controllers with the current led colors, using the passed in brightness.
VIRTUAL_IF_NOT_AVR int size() const FL_NO_EXCEPT
How many LEDs does this controller manage?
CRGB * leds() FL_NO_EXCEPT
Pointer to the CRGB array for this controller.
fl::CLEDController CLEDController
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
References fl::CRGB::Black, controller, FastLED, fl::FL_NO_EXCEPT, leds, mControllerIndex, mHasSegment, mSegmentEnd, and mSegmentStart.
Referenced by ~FastLEDAdapter().