# include
# include
# define uchar unsigned char
#define XTAL 12000000 // CUP 晶振频率
#define baudrate 2400 // 通信波特率
sbit SDA=P1^7;
sbit SCL=P1^6;
sbit text=P0^1;
uchar min;
uchar hour;
uchar time_data;
uchar x;
uchar z;
uchar buff[3];
uchar b;
bit ack;
void _Nop(uchar i) /*定义空指令*/
{
uchar j;
for(j=0;j