标题:
使led每隔一秒发光、关闭一次
[打印本页]
作者:
ppo
时间:
2016-10-10 22:29
标题:
使led每隔一秒发光、关闭一次
#include<BoeBot.h>
#include<uart.h>
int main(void)
{
uart_Init();
while(1)
{P1_0=1;
delay_nms(500);
P1_0=0;
delay_nms(500);
}
}
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1