FastLED 3.10.9
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 541 of file FastLED.cpp.hpp.

541 {
543 while(pCur) {
544 pCur->setTemperature(temp);
545 pCur = pCur->next();
546 }
547}
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: