FastLED 3.10.10
Loading...
Searching...
No Matches

◆ leds() [1/2]

fl::span< const CRGB > fl::Channel::leds ( ) const

Get the LED array as a span (const)

Definition at line 1187 of file channel.cpp.hpp.

1187 {
1188 return fl::span<const CRGB>(CPixelLEDController<RGB>::leds(), CPixelLEDController<RGB>::size());
1189}
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.

References fl::FL_NO_EXCEPT, fl::CLEDController::leds(), and fl::CLEDController::size().

+ Here is the call graph for this function: