FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setRgbwColorimetricProfile()

void CFastLED::setRgbwColorimetricProfile ( const fl::DiodeProfile * profile)
inline

Install a legacy fallback RGBW diode chromaticity profile for scalar colorimetric calls.

The pointer is stored; caller must keep the DiodeProfile alive for as long as a colorimetric mode may use it. No-op when FASTLED_RGBW_COLORIMETRIC is undefined.

Parameters
profilepointer to a caller-owned fl::DiodeProfile, or nullptr to revert to kRgbwDefaultProfile.
FastLED.addLeds<WS2812, DATA_PIN, GRB>(leds, NUM_LEDS)
fl::EOrderW::W3,
profile));
#define NUM_LEDS
#define DATA_PIN
Definition ClientReal.h:82
CRGB * leds()
Get a pointer to led data for the first controller.
constexpr EOrder GRB
Definition eorder.h:19
CFastLED FastLED
Global LED strip management instance.
const DiodeProfile kRgbwDefaultProfile
Definition rgbw.cpp.hpp:38
fl::shared_ptr< const DiodeProfile > make_diode_profile(const DiodeProfile &profile) FL_NO_EXCEPT
Definition rgbw.cpp.hpp:303
@ kRGBWDefaultColorTemp
Definition rgbw.h:205
@ kRGBWColorimetric
Definition rgbw.h:25

Definition at line 1884 of file FastLED.h.

1884 {
1886 }
void set_rgbw_colorimetric_profile(const DiodeProfile *profile) FL_NO_EXCEPT
Definition rgbw.cpp.hpp:202

References FL_NO_EXCEPT, and fl::set_rgbw_colorimetric_profile().

+ Here is the call graph for this function: