Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I'm sorry, but bit banging WS2812 on that hardware is stupid. Find some peripheral that you can use to output WS2812 bitstreams, and use that. For example, for the Raspberry Pi there is a library at https://github.com/jgarff/rpi_ws281x that can use either PWM, PCM or SPI to do this. I know you're dealing with a different CPU, but this should give you ideas about how you can use its peripherals. The data sheet is available: https://github.com/milkv-duo/duo-files/blob/main/hardware/CV1800B/CV1800B-CV1801B-Preliminary-Datasheet-full-en.pdf
I'm sorry, but bit banging WS2812 on that hardware is stupid. Find some peripheral that you can use to output WS2812 bitstreams, and use that. For example, for the Raspberry Pi there is a library at https://github.com/jgarff/rpi_ws281x that can use either PWM, PCM or SPI to do this. I know you're dealing with a different CPU, but this should give you ideas about how you can use its peripherals. The data sheet is available: https://github.com/milkv-duo/duo-files/blob/main/hardware/CV1800B/CV1800B-CV1801B-Preliminary-Datasheet-full-en.pdf