-
遥控解码程序,弄了一天,哪错了?
voidT0ISR(void)interrupt1{TL0=0x4A;TH0=0XFF;TF0=0;if(!RF){ll_w++;old_rc5=0;}else{hh_w++;if(!old_rc5){if((hh_w>=2)&&(hh_w=100)&&(ll_w=11)&&(ll_w23){if(!rf_ok1){mma1=bma1;mma2=bma2;mma3=bma3;rf_ok1=1;tb_ok=0;s=1000;}else{mma1=bma1;mma2=bma2;mma3=bma3;rf_ok2=1;tb_ok=0;s=1000;}}}elseif((tb_ok)&&(ll_w>=3)&&(ll_w
2021-06-10 4