Open damien-otis opened 3 years ago
The calculation of DMA buffer size is wrong, it should be this:
The current code uses 16 bytes instead of 2 bytes, making the DMA buffer quite large which slows down the refresh rate of the LEDs by a lot.
If i have a 100led strip, how much should be the buffer size? What is 24/4 stand for? I'm using a SK6812, should it work?
The calculation of DMA buffer size is wrong, it should be this:
define LED_DMA_BUFFER_SIZE ((LED_MAX_NBER_LEDS sizeof(uint16_t) (24/4)))+1
The current code uses 16 bytes instead of 2 bytes, making the DMA buffer quite large which slows down the refresh rate of the LEDs by a lot.