Hacker News new | ask | show | jobs
by leptons 1093 days ago
Been using ESP32 to drive WS2812b LEDs for years. You need to use the SPI peripheral to drive the LEDs, using a driver that outputs the data format the LEDs understand. The SPI peripheral uses DMA and does not glitch when wifi is accessed at the same time.
1 comments

Another alternative is to use the RMT (remote control module). I've had success with that. There's a driver for it in Rust: https://lib.rs/crates/ws2812-esp32-rmt-driver
RMT glitches when wifi is accessed. I started with RMT, it was a big fail for me.