void isr_timer1(void) interrupt 3{unchar m,i;TR1=1;TH1=(65536-2000)/256;TL1=(65536-2000)%256;if(motor){if(i==speed) // i 没有变化,进不去这个判断{i=0;