#include
#define uint unsigned int
#define uchar unsigned char
uchar code LED[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff,0xbf};
uchar code rectm[2]={7,3};
int code day1[3]={31,12,99};
int code day2[3]={1,1,0};
int code sec1[3]={59,59,24};
uchar aa,bb[8]={0,0,11,0,0,11,0,0};
int sec[3]={50,29,15};
int day[3]={22,11,21};
int msec=0,msec1=0;
uchar p=0,dsptm=0,moditm=0;
bit flsh=0,tm1ms=0,dspymd=0,inmodi=0;
int item=0;
void delay(unsigned int n)
{
uint k;//,j;
for(k=0;k
{
while(!tm1ms)tm1ms=0;