摘要:
#include<reg51.h> #define uchar unsigned char; #define uint unsigned int; uchar position; uchar tt,bz1=0,bz2=0; uchar second; uchar minute; uchar hour 阅读全文
摘要:
uchar flag=0; void key() //按键判断程序 { if(key1==0) //判断是否按下键盘 { delay(10); //延时,软件去干扰 if(key1==0) //确认按键按下 { flag=1 } while(key1==0); } if(key2==0) //判断是 阅读全文