...要闹钟。调整时间、秒表、就行了。急求。。。C语言编写答:void display(second10,second1,minute10,minute1,hour10,hour1) //显示子程序unsigned char second10,second1,minute10,minute1,hour10,hour1; { P2=0xfe; P0=dispcode[second10];//显示秒的十位 delay(1); P2=0xfd; P0=dispcode[second1]; //显示秒的个位 delay(1); P2=0xfb; P0=dispcode[10...
设计要求用AT89C51设计一个2位的LED数码显示作为“秒表”用C语言...答:k,c1,c0,m,n=255;unsigned char pp;unsigned char code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d, 0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};void delay(unsigned char i){