文件名称:lesson5
-
所属分类:
- 标签属性:
- 上传时间:2016-12-09
-
文件大小:38.04kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
proteus单片机仿真 数码管
#include <reg51.h>
unsigned char code Tab[] {0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90}
void Delay()
{
unsigned char i,j
for(i 0 i<255 i++)
for(j 0 j<255 j++)
}
void main()
{
unsigned char i 1
while(1)
{
P0 Tab[i]
Delay()
i++
if(i>9) i 0
}
}-Proteus single-chip microcomputer simulation, digital tube
# include < reg51. H >
Unsigned char code Tab [] {xa4 xc0 0, 0 xf9, 0, 0 xb0, 0 x99, 0 x92, 0 x82, 0 xf8, 0 x80, 0 x90}
Void Delay ()
{
Unsigned char I, j
For (I 0 I < 255 i++)
For (j 0 j < 255 j++)
}
Void main ()
{
Unsigned char I 1
While (1)
{
P0 Tab [I]
Delay ()
I++
If (I > 9) I 0
}
}
#include <reg51.h>
unsigned char code Tab[] {0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90}
void Delay()
{
unsigned char i,j
for(i 0 i<255 i++)
for(j 0 j<255 j++)
}
void main()
{
unsigned char i 1
while(1)
{
P0 Tab[i]
Delay()
i++
if(i>9) i 0
}
}-Proteus single-chip microcomputer simulation, digital tube
# include < reg51. H >
Unsigned char code Tab [] {xa4 xc0 0, 0 xf9, 0, 0 xb0, 0 x99, 0 x92, 0 x82, 0 xf8, 0 x80, 0 x90}
Void Delay ()
{
Unsigned char I, j
For (I 0 I < 255 i++)
For (j 0 j < 255 j++)
}
Void main ()
{
Unsigned char I 1
While (1)
{
P0 Tab [I]
Delay ()
I++
If (I > 9) I 0
}
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lesson5/
lesson5/lesson5.DSN
lesson5/lesson5.PWI
lesson5/lesson5_1
lesson5/lesson5_1.c
lesson5/lesson5_1.hex
lesson5/lesson5_1.lnp
lesson5/lesson5_1.LST
lesson5/lesson5_1.M51
lesson5/lesson5_1.OBJ
lesson5/lesson5_1.plg
lesson5/lesson5_1.uvopt
lesson5/lesson5_1.uvproj
lesson5/lesson5_1_uvproj.bak
lesson5/lesson5_2
lesson5/lesson5_2.c
lesson5/lesson5_2.hex
lesson5/lesson5_2.lnp
lesson5/lesson5_2.LST
lesson5/lesson5_2.M51
lesson5/lesson5_2.OBJ
lesson5/lesson5_2.plg
lesson5/lesson5_2.uvopt
lesson5/lesson5_2.uvproj
lesson5/lesson5_2_uvproj.bak
lesson5/lesson5.DSN
lesson5/lesson5.PWI
lesson5/lesson5_1
lesson5/lesson5_1.c
lesson5/lesson5_1.hex
lesson5/lesson5_1.lnp
lesson5/lesson5_1.LST
lesson5/lesson5_1.M51
lesson5/lesson5_1.OBJ
lesson5/lesson5_1.plg
lesson5/lesson5_1.uvopt
lesson5/lesson5_1.uvproj
lesson5/lesson5_1_uvproj.bak
lesson5/lesson5_2
lesson5/lesson5_2.c
lesson5/lesson5_2.hex
lesson5/lesson5_2.lnp
lesson5/lesson5_2.LST
lesson5/lesson5_2.M51
lesson5/lesson5_2.OBJ
lesson5/lesson5_2.plg
lesson5/lesson5_2.uvopt
lesson5/lesson5_2.uvproj
lesson5/lesson5_2_uvproj.bak
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.