RGBW Support?
Posted: Tue Jul 30, 2024 12:36 am
Greets All,
I am dusting off my C++ skills and revisiting the ESP32S3. I have a few development boards, and currently using the ESP32-S3-DevKitC-1U-N8R8 which I feel is a great inexpensive development board to get my feet wet again. Setting it up in VSCODE was almost uneventful, and everything is going great!
So I did the RGB blink example using the onboard RGB LED and want to expand to a strip. But the strip I am using is RGBW with 32 bits of color info (R,G,B,W) per LED. And this is where I hit a snag. The library used in the example is led_strip.h but that is for RGB, 24 bit color info. Is there a library for RGBW ws2812's or an option using led_strip.h with 32 bit color information?
I just wanted to ask before I went after writing my own custom library. It's been a few years since I touched C++ since I became immersed in Python 3. RGBW led devices are important to me because I want to create wifi connected mood lighting controllers but also want to leverage the bright white of the 4th WHITE LED for functional lighting without pushing the RGB led's to even values to simulate white.
I ran into this issue with the AdaFruit Circuit Python libraries also in an older project. I would think that the RGB LED libraries should include color frame bit-width scalability to accommodate future byte-widths because who knows? There might actually be a RGBWWWUI (Red, Green, Blue, Cool, Warm, Daylight, Ultraviolet, Infrared) LED someday for lighting, mood lighting, and plant growth support.
Thank you for your valuable time!
I am dusting off my C++ skills and revisiting the ESP32S3. I have a few development boards, and currently using the ESP32-S3-DevKitC-1U-N8R8 which I feel is a great inexpensive development board to get my feet wet again. Setting it up in VSCODE was almost uneventful, and everything is going great!
So I did the RGB blink example using the onboard RGB LED and want to expand to a strip. But the strip I am using is RGBW with 32 bits of color info (R,G,B,W) per LED. And this is where I hit a snag. The library used in the example is led_strip.h but that is for RGB, 24 bit color info. Is there a library for RGBW ws2812's or an option using led_strip.h with 32 bit color information?
I just wanted to ask before I went after writing my own custom library. It's been a few years since I touched C++ since I became immersed in Python 3. RGBW led devices are important to me because I want to create wifi connected mood lighting controllers but also want to leverage the bright white of the 4th WHITE LED for functional lighting without pushing the RGB led's to even values to simulate white.
I ran into this issue with the AdaFruit Circuit Python libraries also in an older project. I would think that the RGB LED libraries should include color frame bit-width scalability to accommodate future byte-widths because who knows? There might actually be a RGBWWWUI (Red, Green, Blue, Cool, Warm, Daylight, Ultraviolet, Infrared) LED someday for lighting, mood lighting, and plant growth support.
Thank you for your valuable time!