X * 12/频率 = 0.02s (频率 11059200)=》X =18432; Y + X = 65536 =>Y = 0xB800
=》
TMOD = 0x01;//工作模式
TH0 = 0xB8;
TL0 = 0x00;
=》
TR0 = 1;
=>
if(TF0 == 1)
{
TF0= 0;
TH0 = 0xB8;
TL0 = 0x00;
}
X * 12/频率 = 0.02s (频率 11059200)=》X =18432; Y + X = 65536 =>Y = 0xB800
=》
TMOD = 0x01;//工作模式
TH0 = 0xB8;
TL0 = 0x00;
=》
TR0 = 1;
=>
if(TF0 == 1)
{
TF0= 0;
TH0 = 0xB8;
TL0 = 0x00;
}