#include #define uint unsigned int #define uchar unsigned char sbit k1=P1^1; sbit k2=P1^2; sbit k3=P1^3; sbit k4=P1^4; sbit k5=P1^5; sbit k6=P1^6; void display(); uchar code duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e}; uchar code wei[]={0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe}; uint second, minute, hour, one, ten, hundred, thousand, tthousand, oht, t; void times(uint z) { uint i,j; for(i=0; i