
keil
Lenka丨
这个作者很懒,什么都没留下…
展开
-
WS2811 LED stm32 + PWM +DMA 验证可控制白光其他没有测试过 亮灭没有问题 20190326
//timer.c file#include "timer.h"/* 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 siz...原创 2019-03-26 17:12:35 · 2605 阅读 · 0 评论 -
KEIL获取工程编译时间
可以使用KEIL内置的__DATE__ 和 __TIME__ 宏来实现这个功能参考范例:unsigned char code DataStr[]=__DATE__;unsigned char code TimeStr[]=__TIME__;这样,编译后TimeStr的字符串正好是编译的当前时刻,相当于unsigned char code TimeStr[]="09:12:04"这在某些...转载 2019-03-14 14:24:32 · 4528 阅读 · 1 评论