编码器计数 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; write_data(table[bai_fen]); write_data(table[shi_fen]); write_data(table[ge_fen]); write_data(table[12]); write_data(table[bai_