LCD显示的电子钟内含秒表程序#include #include"config.h" #include"Lcd1602.h" #include"Time.h" #include"KeyControl.h" unsigned char T0RH; unsigned char T0RL; static unsigned char tmr10ms=0,trm100ms=0,enable=0; void main() { T0RH=0xf8; T0RL=0xcc; BUZZER=0; EA=1; //打开定时器 ET0=1;//开启中断 TR0=1; //开始计时 InitLcd1