Guys, how have you done when wanting to use FastLed functions on RGBW strips?

Guys, how have you done when wanting to use FastLed functions on RGBW strips? I know FastLed does not support RGBW, but has anyone tried to “translate” some of the most useful FastLed functions into e.g. the Neopixel library (which does support RGBW)? I’m thinking fade-functions and such. Maybe there’s even a way to use FastLed to do the computations and Neopixels to print out to the LED’s?

How have y’all approached this? :slight_smile:

As I understand it it’s a big rewrite to properly support RGBW with color correction. The fact that you can get RGBW with different white color temperatures really does complicate the issue.

What I do is to use another library to do the actual pixel driver (like Adafruit_Neopixel or NeoPixelBus) but use FastLED for all the great math and object functions. This does mean I keep two copies of an LED buffer around, and I need a function to copy data from one to the other. And that’s just for RGB. For the W part, it depends on what I’m doing. Sometimes I have a global “white” level, sometimes I compute a W based on saturation of the RGB value.

Sounds a bit complex. Is it anything to recommend to a beginner?

It just seems like one can’t really do cool animations with RGBW today…