FastLED 3.10.8
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
CFastLED FastLED
Global LED strip management instance.
CRGB * leds() FL_NO_EXCEPT
Get a pointer to led data for the first controller.
constexpr EOrder GRB
Definition eorder.h:19
const DiodeProfile kRgbwDefaultProfile
Definition rgbw.cpp.hpp:39
fl::shared_ptr< const DiodeProfile > make_diode_profile(const DiodeProfile &profile) FL_NO_EXCEPT
Definition rgbw.cpp.hpp:304
@ kRGBWDefaultColorTemp
Definition rgbw.h:206
@ kRGBWColorimetric
Definition rgbw.h:26

Definition at line 1873 of file FastLED.h.

1873 {
1875 }
void set_rgbw_colorimetric_profile(const DiodeProfile *profile) FL_NO_EXCEPT
Definition rgbw.cpp.hpp:203

References FL_NO_EXCEPT, fl::set_rgbw_colorimetric_profile(), and setRgbwColorimetricProfile().

Referenced by setRgbwColorimetricProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: