FastLED 3.9.15
Loading...
Searching...
No Matches

◆ RGBWW_MODE

enum class fl::RGBWW_MODE : fl::u8
strong

RGB -> RGBWW conversion modes (issue #2558, Phase 3 of #2545).

All modes are colorimetric — there is no min(RGB)-style analog that generalizes to two whites. The real solver runs whenever FASTLED_RGBW_COLORIMETRIC=1 (the same flag that gates the 4-channel colorimetric path); otherwise dispatch emits FL_WARN_ONCE and outputs zeros. No separate FASTLED_RGBWW flag exists — gc-sections drops unused RGBWW symbols for sketches that never configure a channel with mWhiteCfg = Rgbww{...}.

Enumerator
kRGBWWInvalid 
kRGBWWColorimetric 
kRGBWWColorimetricBoosted 
kRGBWWUserFunction 

Definition at line 42 of file rgbww.h.

42 : fl::u8 {
46 // IMPORTANT: kRGBWWUserFunction MUST remain the last enumerator. New
47 // modes are added immediately above this line so the user-function
48 // ordinal stays as the dispatch max value.
50};
unsigned char u8
Definition stdint.h:131
@ kRGBWWUserFunction
Definition rgbww.h:49
@ kRGBWWColorimetric
Definition rgbww.h:44
@ kRGBWWInvalid
Definition rgbww.h:43
@ kRGBWWColorimetricBoosted
Definition rgbww.h:45