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

◆ set_rgb_2_rgbw_function()

void fl::set_rgb_2_rgbw_function ( rgb_2_rgbw_function func)

Definition at line 118 of file rgbw.cpp.

118 {
119 if (func == nullptr) {
121 return;
122 }
123 g_user_function = func;
124}
rgb_2_rgbw_function g_user_function
Definition rgbw.cpp:116
void rgb_2_rgbw_exact(uint16_t w_color_temperature, uint8_t r, uint8_t g, uint8_t b, uint8_t r_scale, uint8_t g_scale, uint8_t b_scale, uint8_t *out_r, uint8_t *out_g, uint8_t *out_b, uint8_t *out_w)
Converts RGB to RGBW using a color transfer method from saturated color channels to white.
Definition rgbw.cpp:41

References g_user_function, and rgb_2_rgbw_exact().

+ Here is the call graph for this function: