FastLED 3.10.8
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 65 of file client.cpp.hpp.

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

References fl::FL_NO_EXCEPT, and mController.