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