Keyestudio 4WD Bluetooth Multi-functional Car Manual page 147

Hide thumbs Also See for 4WD Bluetooth Multi-functional Car:
Table of Contents

Advertisement

break;
case IR_Right:turnR(); //Righ
break;
case IR_Stop:stopp();
//stop
break;
case IR_Servo_L: if(DuoJiao<=180){ //motor turning left
DuoJiao+=10;
Set_servopulse(DuoJiao);
Show_DuoJiao(DuoJiao);}
break;
case IR_Servo_R: if(DuoJiao-10>=0){ //motor turning right
DuoJiao-=10;
Set_servopulse(DuoJiao);
Show_DuoJiao(DuoJiao);}
break;
case IR_Speed_UP:if(Rpwm_val+10<=250&&Rpwm_val+10<=250){ //increasing speed
Lpwm_val+=10; Rpwm_val+=10;
Set_Speed(Lpwm_val,Rpwm_val);
Show_V(Lpwm_val);
}
break;
case IR_Speed_DOWN:if(Rpwm_val-10>=0&&Rpwm_val-10>=0){ //decreasing speed
Lpwm_val-=10; Rpwm_val-=10;
Set_Speed(Lpwm_val,Rpwm_val);
Show_V(Lpwm_val);
}
keyestudio
www.keyestudio.com
145

Advertisement

Table of Contents
loading

Related Products for Keyestudio 4WD Bluetooth Multi-functional Car

Table of Contents