编码器计数 编码器计数 fen=TH0*256+TL0-65335; bai_fen=fen/100; shi_fen=fen0/10; ge_fen=fen/10; bai_zhuan=(int)zhuan/100; shi_zhuan=(int)zhuan0/10; ge_zhuan=(int)zhuan;