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

◆ setTemperature()

void fl::WLEDClient::setTemperature ( CRGB temperature)

Set color temperature.

Parameters
temperatureColor temperature RGB values

Adjusts color output for perceived color temperature. Delegates to controller's setTemperature method.

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

111 {
112 FL_DBG("WLEDClient: setTemperature(r=" << (static_cast<int>(temperature.r)) << ", g=" << (static_cast<int>(temperature.g)) << ", b=" << (static_cast<int>(temperature.b)) << ")");
113
114 if (!mController) {
115 return;
116 }
117
118 mController->setTemperature(temperature);
119}
fl::shared_ptr< IFastLED > mController
Definition client.h:148
#define FL_DBG
Definition log.h:553

References FL_DBG, fl::FL_NO_EXCEPT, and mController.