monitorport.zip - 显示器接口设计
在单片机系统中,常用的显示器有:发光二极管显示器,简称LED(Light Emitting diode);
,2010-05-17 11:33:40,下载2次
LED.zip - 程序编写,LED动态显示12345678
#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
uchar code duma[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f, //共阴的数码管段选.将值送给P2口
0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,0x40,0x80,0x00} //数值‘ 0-F - 熄灭
uchar code wema[]={0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7} //片选,1-8个数码管
void delay(uchar x)
{
uchar a,b
for(a=x a>0 a--)
for(b=50 b>0 b--)
}
void main()
{
uchar i
while(1)
{
for(i=0 i<8 i++)
{
P2=duma[i+1] //取值从 1 开始。
P1=wema[i]
delay(20)
}
}
},2010-05-17 11:22:41,下载3次
AT89C51.zip - at89c51中文资料,内有基本框图,还有集其的使用,可以帮助更还得使用at89c51,2010-05-17 11:14:01,下载4次
AT89S51.zip - at89s51中文资料,内有基本框图,还有集其的使用,可以帮助更还得使用at89s51,2010-05-17 11:12:23,下载2次
AD8330.zip - ad8330英文 资料
更好的解释ad8330,内有ad8330框图,和框图原理,还有基本框图应用,2010-05-17 11:07:29,下载8次