FastLED 3.10.8
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 1150 of file channel.cpp.hpp.

1150 {
1151 return fl::span<const CRGB>(CPixelLEDController<RGB>::leds(), CPixelLEDController<RGB>::size());
1152}
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: