Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RGBW (SK6812RGBW,etc...) #2

Open
emilpedersen opened this issue Dec 4, 2018 · 1 comment
Open

Support for RGBW (SK6812RGBW,etc...) #2

emilpedersen opened this issue Dec 4, 2018 · 1 comment

Comments

@emilpedersen
Copy link

Is it possible to add RGBW support? (:

Like this one:
https://www.adafruit.com/product/2842?length=4

@uraimo uraimo changed the title Support for RGBW Support for RGBW (SK6812RGBW,etc...) Dec 4, 2018
@uraimo
Copy link
Owner

uraimo commented Dec 4, 2018

That strip uses SK6812RGBW leds that have timings similar to the original WS2812.
See the data sheet here: https://cdn-shop.adafruit.com/product-files/2757/p2757_SK6812RGBW_REV01.pdf

While the only important thing to change in the timings is the longer reset time (80us), you'll also have to accomodate 8 additional bits for the intensity of the white led (so, you'll be sending 40bits for each led instead of the current 32).
I'd say it's doable if you have a strip to test it, the datatypes will need to be changed a bit to accomodate both 32 & 40 bits blocks cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants