FastLED 3.10.8
Loading...
Searching...
No Matches

◆ WLEDClient()

fl::WLEDClient::WLEDClient ( fl::shared_ptr< IFastLED > controller)
explicit

Construct WLEDClient with FastLED controller.

Parameters
controllerShared pointer to IFastLED implementation

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

12 : mController(controller), mBrightness(255), mOn(false) {
13 if (!mController) {
14 FL_WARN("WLEDClient: constructed with null controller");
15 }
16}
CLEDController * controller
fl::shared_ptr< IFastLED > mController
Definition client.h:148
#define FL_WARN(...)
Definition log.h:437

References controller, fl::FL_NO_EXCEPT, FL_WARN, mBrightness, mController, and mOn.