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

◆ set_rgb_2_rgbw_function()

void set_rgb_2_rgbw_function ( rgb_2_rgbw_function func)

Definition at line 117 of file rgbw.cpp.

117 {
118 if (func == nullptr) {
120 return;
121 }
122 g_user_function = func;
123}
rgb_2_rgbw_function g_user_function
Definition rgbw.cpp:115
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:40

References g_user_function, and rgb_2_rgbw_exact().

+ Here is the call graph for this function: