cat-in-136 / ws2812-esp32-rmt-driver

WS2812 driver using ESP32 RMT for Rust
MIT License
40 stars 21 forks source link

Support for Sk6812 RGBW #21

Closed cat-in-136 closed 1 year ago

cat-in-136 commented 1 year ago

Support for four channel smart LED API.

Do not introduce four color API to lib_embedded_graphics.rs. Because current embedded-graphics only support 3-color and it is difficult to add RGBW support.

Typical RGBW colors shall be added: LedPixelColorRgbw32 and LedPixelColorGrbw32. But I have no plans to introduce any other easy-to-use aliases like WS2812. Because there are RGBW and GRBW LED types, both sold under saying "SK6812-RGBW-compatible" products, and users have to check which sequence is correct and choose library parameter.

resolve #5