#include<reg52.h>
#include<intrins.h>
#define LED P0
sbit KEY0=P2^0; //定义按键输入端口 A
sbit KEY1=P2^1; //定义按键输入端口 B
sbit KEY2=P2^2; //定义按键输入端口 C
unsigned int Led_table[8]={0xfe,0xfc,0xf8,0xf0,0xe0,0xc0,0x80,0x00};
char Led_num=0 ...
/dl/508925.html
标签:
单片机
上传时间:
2015-12-23
上传用户:kimyu