sbit relay=P0^4;
//unsigned char code T_com[]={0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80};
{
unsigned int i,z;
closebr();
P2=(P2&0x1f)|0xc0;
P0=0x01;
P2=0x1f;
for(i=0;i<16;i++)
{
P2=(P2&0x1f)|0xe0;
P0=~T_display[i];
P2=0x1f;
for(z=0;z<60000;z++);
}
}
{
P2=(P2&0x1f)|0xa0;
buzzer=0;
relay=0;
P2=P2&0x1f;
}