初学者必备 动态链接的定时器#include unsigned char count=0;unsigned char miao=0;sbit P2_7=P2^7;sbit P1_2=P1^2;sbit P1_3=P1^3;void timer_1() interrupt 3{ TH1 = ( 65536-50000 )/256; TL1 = ( 65536-50000 )%256; count++; if(count==20) { count=0; miao++; if(miao==