文件名称:lesson7
介绍说明--下载内容均来自于网络,请自行研究使用
proteus单片机仿真-有源蜂铃器
#include<reg51.h>
sbit Buzzer P0^0
void main(void)
{
int i,n
n 60
while(1)
{
Buzzer 1
for(i 1 i<n i++)
Buzzer 0
for(i 1 i<n i++)
}
}-Proteus single-chip microcomputer simulation- active buzzer
# include < reg51. H >
Sbit Buzzer P0 ^ 0
Void main (void)
{
Int I, n
N 60
While (1)
{
Buzzer 1
For (I 1 I < n i++)
Buzzer 0
For (I 1 I < n i++)
}
}
#include<reg51.h>
sbit Buzzer P0^0
void main(void)
{
int i,n
n 60
while(1)
{
Buzzer 1
for(i 1 i<n i++)
Buzzer 0
for(i 1 i<n i++)
}
}-Proteus single-chip microcomputer simulation- active buzzer
# include < reg51. H >
Sbit Buzzer P0 ^ 0
Void main (void)
{
Int I, n
N 60
While (1)
{
Buzzer 1
For (I 1 I < n i++)
Buzzer 0
For (I 1 I < n i++)
}
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lesson7
.......\lesson7_1
.......\lesson7_1.c
.......\lesson7_1.dsn
.......\lesson7_1.hex
.......\lesson7_1.lnp
.......\lesson7_1.LST
.......\lesson7_1.M51
.......\lesson7_1.OBJ
.......\lesson7_1.plg
.......\lesson7_1.PWI
.......\lesson7_1.uvopt
.......\lesson7_1.uvproj
.......\lesson7_1_uvproj.bak
.......\lesson7_2
.......\lesson7_2.c
.......\lesson7_2.dsn
.......\lesson7_2.hex
.......\lesson7_2.lnp
.......\lesson7_2.LST
.......\lesson7_2.M51
.......\lesson7_2.OBJ
.......\lesson7_2.plg
.......\lesson7_2.PWI
.......\lesson7_2.uvopt
.......\lesson7_2.uvproj
.......\lesson7_2_uvproj.bak