TL0=0xB0;...........................................................................................................................21
count++;...............................................................................................................................21
if(count==20).......................................................................................................................21
{............................................................................................................................................21
count=0;................................................................................................................................21
switch(flag)...........................................................................................................................21
{............................................................................................................................................21
case 1:{sec1=sec1-1;};break;...............................................................................................21
case 2:{sec2=sec2-1;};break;...............................................................................................21
case 3:{min=min-1;};break;.................................................................................................21
}............................................................................................................................................21
...............................................................................................................................................21
}............................................................................................................................................22
...............................................................................................................................................22
}.............................................................................................................................................22
warn()....................................................................................................................................22
{.............................................................................................................................................22
if(flag!=0).............................................................................................................................22
{............................................................................................................................................22
switch(flag)...........................................................................................................................22
{............................................................................................................................................22
case 1:...................................................................................................................................22
{............................................................................................................................................22
if(sec1==0&&en_flag==1)..................................................................................................22
{............................................................................................................................................22
TR0=0;flag=0;......................................................................................................................22
...............................................................................................................................................22
bell=0;en_flag=0;.................................................................................................................22
}............................................................................................................................................22
}break;..................................................................................................................................22
case 2:...................................................................................................................................22