esp-open-rtos/extras/ws2812_i2s
2017-08-30 13:51:32 +10:00
..
component.mk ws2812_i2s: WS2812 leds driver implementation using i2s_dma library 2016-08-16 10:53:56 +03:00
README.md ws2812_i2s: WS2812 leds driver implementation using i2s_dma library 2016-08-16 10:53:56 +03:00
ws2812_i2s.c Add an argument to ISRs. Disable interrupts while masking them. 2017-08-30 13:51:32 +10:00
ws2812_i2s.h Make headers in extras more cpp friendly 2016-10-24 18:13:17 +05:00

WS2812 led driver

This driver uses I2S and DMA subsystems to drive WS2812 leds. The idea to use I2S to control WS2812 leds belongs to CNLohr.

Pros

  • Not using CPU to generate pulses.
  • Interrupt neutral. Reliable operation even with high network load.

Cons

  • Using RAM for DMA buffer. 12 bytes per pixel.
  • Can not change output PIN. Use I2S DATA output pin which is GPIO3.