STM32用PWM +DMA驱动 WS2812.txt

时间:2022-09-17 04:43:47
【文件属性】:

文件名称:STM32用PWM +DMA驱动 WS2812.txt

文件大小:7KB

文件格式:TXT

更新时间:2022-09-17 04:43:47

全彩灯条驱动

STM32用PWM +DMA驱动 WS2812 /* Buffer that holds one complete DMA transmission * * Ensure that this buffer is big enough to hold * all data bytes that need to be sent * * The buffer size can be calculated as follows: * number of LEDs * 24 bytes + 42 bytes * * This leaves us with a maximum string length of * (2^16 bytes per DMA stream - 42 bytes)/24 bytes per LED = 2728 LEDs


网友评论