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

◆ setTemperature()

void CFastLED::setTemperature ( const CRGB & temp)

Set a global color temperature.

Sets the color temperature for all added led strips, overriding whatever previous color temperature those controllers may have had.

Parameters
tempA CRGB structure describing the color temperature

Definition at line 537 of file FastLED.cpp.hpp.

537 {
539 while(pCur) {
540 pCur->setTemperature(temp);
541 pCur = pCur->next();
542 }
543}
CLEDController & setTemperature(CRGB temperature) FL_NO_EXCEPT
Set the color temperature, aka white point, for this controller.
static CLEDController * head() FL_NO_EXCEPT
Get the first LED controller in the linked list of controllers.
CLEDController * next() FL_NO_EXCEPT
Get the next controller in the linked list after this one.
fl::CLEDController CLEDController

References FL_NO_EXCEPT, fl::CLEDController::head(), fl::CLEDController::next(), and fl::CLEDController::setTemperature().

+ Here is the call graph for this function: