Hi everybody! I'm working with FastLED with a WS2812b strip on an Arduino,

Hi everybody! I’m working with FastLED with a WS2812b strip on an Arduino, and I’m trying to figure out how to set custom color temperature.

I’m working with a photographer. We want to implement a simple knob to adjust color temperature continuously. I see options for pre-defined color temps in FastLED, but I can’t find any way to set custom temps. Ideally I would output the K value to an LCD- IF I can get it from FastLed or compute it myself.

Has anybody done this? Any hints on where to look for clues?

Thanks! :]

I don’t have Arduino or C code ready-to-go for this (yet), but you might find this page useful. It has pseudo-code for Kelvins-to-RGB that should be relatively easy to port.

That is precisely what I needed. Super easy to implement, and I can measure output and produce a calibration curve for accuracy. Thanks so much! :]