WS2811 LED stm32 + PWM +DMA 验证可控制白光其他没有测试过 亮灭没有问题 20190326
//timer.cfile#include"timer.h"/*BufferthatholdsonecompleteDMAtransmission**Ensurethatthisbufferisbigenoughtohold*alldatabytesthatneedtobesent**Thebuffersizecanbecalculatedasfollows:*numberofLEDs*24byt