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

◆ getLEDs()

fl::span< CRGB > fl::WLEDClient::getLEDs ( )

Get access to LED array.

Returns
Span view of LED array

Allows direct manipulation of LED colors through the controller.

Definition at line 64 of file client.cpp.hpp.

64 {
65 if (!mController) {
66 return fl::span<CRGB>();
67 }
68
69 return mController->getLEDs();
70}
fl::shared_ptr< IFastLED > mController
Definition client.h:148

References mController.