Open ToracX opened 7 months ago
Why not using Fw1906 strip?
This is possible, but not on roadmap. I think this is easy with esp32 boards using ledc function for pwm signals on two separate gpio pins.
i can only create a sample sketch with lack of transition on CCT. Basically when CCT is requested the lightEngine() is not used and the light levels are applied directly with no transition. It is possible to move this to lightEngine()to have trnasition but require time and test hardware witch i lack both.
As a hint if you want to enable transition also on CCT it you need to duplicate
if (lights[light].colors[0] != lights[light].currentColors[0] || lights[light].colors[1] != lights[light].currentColors[1] || ....
and add also the cct clannels with ledcWrite for PWM control
if (lights[light].colors[3] != lights[light].currentColors[3] || lights[light].colors[4] != lights[light].currentColors[4]) {`
.........
ledcWrite(LEDC_CHANNEL_0, (int)(lights[light].currentColors[3] * 16));
ledcWrite(LEDC_CHANNEL_1, (int)(lights[light].currentColors[4] * 16));
}
Sample sketch https://pastebin.com/Lp2C0UKY
We have ledc dimmable sketch as example here
Why not using Fw1906 strip?
I don't see this led on supported list by the neopixel bus library currently used. https://github.com/Makuna/NeoPixelBus/wiki
PastebinPastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
GitHub
An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as t...
@mariusmotea fw1906 ist supported by NeoPixelBus - see also my commit to the sketch (I've done it after the release of the according version)
@mariusmotea fw1906 ist supported by NeoPixelBus - see also my commit to the sketch (I've done it after the release of the according version)
Sorry, i have missed that. Somehow the wiki of neopixel bus don't mention this type of led on the first page.
https://github.com/diyhue/Lights/blob/master/ESP8266/Generic_FW1906_Strip/Generic_FW1906_Strip.ino
Feature does not already exist?
I searched and did not find an existing feature request
Summarize feature
Would it maybe be possible to combine RGB-CCT firmware and gradient firmware? I have a WS2811 strip with CW/WW leds on different pins. Would be awesome making it a RGB-CCT gradient strip.