24M有误差的。可以选22.1184M,9600bps,T1初值设为184,SCON=80H,SMOD=0
TMOD=0x20;SCON=0x50;TH1=0xf9;//误差为7%TL1=0xf9; PCON=0x80;//波特率倍频TH1=0xf3;//误差为0.15%TL1=0xf3;