查看完整内容
//我用Word写的,就是个意思,没有运行啊!
#include
sbit key=P3^0;
sbit key1=P3^1;
sbit key2=P3^2;
sbit key3=P3^3;
sbit key4=P3^4;
sbit PIN1=p2^0;
sbit PIN2=p2^1;
sbit PIN3=p2^2;
sbit PIN4=p2^3;
unsigned char Temp;
unsigned char Record;
void delayms(unsigned int i)
{ unsigned int j,k;
for(k=0;k