now i have some ws2813 SK9822 led strip , i have use Raspberry PI to control it before , but those library can work with WS2813 rather than SK9822, if anybody have try SK9822 LED before ?
Looks like SK9822 are closer to APA102- a 32bit start frame of zeros, followed by three bits of 1s, then the five bit global brightness value and 8bit Blue, Green and Red. Apparently has an end frame of ones which is odd!
This is all explained in the datasheet here: https://www.element14.com/community/docs/DOC-82207/l/sk9822-led-datasheetpdf
It’s basically just a shift register, quite easy.
Blinkt! uses APA102s, and here’s how it does it: https://github.com/pimoroni/blinkt/blob/master/library/blinkt.py#L62-L81
You could probably just clone the Blink! library and change the