当前位置:首页 > 舵机控制详解
{ jj=0; sj=1; } else { jj=0; sj=0; } break; } default : break; } if(count==70)count=0; }
void main(void)//主函数 {
// uchar i; InitTimer();
// pwm_value=1500; while(1) { if(key1==0) { delay_ms(10); if(key1==0) { m++; if(m==5)m=0; while(key1==0); } } } }
共分享92篇相关文档