FastLED 3.9.15
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 10 of file client.cpp.hpp.

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

References controller, FL_WARN, mBrightness, mController, and mOn.