第4个程序:用数码管和定时器做的时钟。#includetypedef unsigned char uchar;typedef unsigned int uint;sbit duan=P1^7;sbit wei=P1^6;uint shuaxin=0;unsigned long int m=0;uchar code disap_tab[]={0x3F,0x06,0x5B,0x4F,0x...
//******************************************************************************//ZhaoZhendong//Lierda, Inc//July 2004//Built with IAR Embedded Workbench Version: 3.20A//******************************...