akclwq 发表于 2018-7-19 19:39
bit flag; 定义一个标志位,用来记录状态的。
or(count=200;count>0;count--) //此语句的作用?
{
yousunny 发表于 2018-7-20 09:29
for(count=200;count>0;count--)这个就是for循环啊!!
bit flag; 这个程序没用到,可以删了
xhaity 发表于 2018-7-20 11:13
从你的程序看,bit flag 是定义了一bit做为标志,但在程序中没有用;其次dely500()函数应该是延时500us左右 ...
欢迎光临 (http://www.51hei.com/bbs/) | Powered by Discuz! X3.1 |