Thank you for this very helpful library! The timing was amazing. I was just getting into ESP32s and wanted to control these LED strips. You had published it to crates.io just a few hours before I came looking for it.
There are variations of these LED that has four color channels per LED: RGBW. The protocol is identical, but you have to emit four channels per LED instead of three. There are also variations where the color channels come in different order. See this code from a Raspberry PI library for these LED strips: https://github.com/faern/rpi-ws281x-rs/blob/master/src/strip_type.rs#L5-L23
Do you have anything against having this library support a variable channel configuration? Maybe I can help adding it if you think it's a good thing to include it.
Thank you for this very helpful library! The timing was amazing. I was just getting into ESP32s and wanted to control these LED strips. You had published it to crates.io just a few hours before I came looking for it.
There are variations of these LED that has four color channels per LED: RGBW. The protocol is identical, but you have to emit four channels per LED instead of three. There are also variations where the color channels come in different order. See this code from a Raspberry PI library for these LED strips: https://github.com/faern/rpi-ws281x-rs/blob/master/src/strip_type.rs#L5-L23
Do you have anything against having this library support a variable channel configuration? Maybe I can help adding it if you think it's a good thing to include it.