[img]file:///C:/Users/Administrator/AppData/Roaming/Tencent/Users/787841396/QQ/WinTemp/RichOle/J%7B[F5@JM1Z2M0V_[D7EEH~2.png[/img]
这是相应的参数
简单的程序
#include<reg52.h>
sbit beep=P3^0;
void delay(int xms)
{
int i,j;
for(i=0;i<xms;i++)
for(j=110;j>0;j--);
}
void mian()
{
while(1)
{
beep=0;
delay(100);
beep=1;
}
}
file:///C:/Users/Administrator/AppData/Roaming/Tencent/Users/787841396/QQ/WinTemp/RichOle/DIE3)PBV%7BLMEF2%251HH9LB49.png
一周热门 更多>