Keyestudio Smart Little Turtle Robot V3 Manual page 210

Table of Contents

Advertisement

www.keyestudio.com
void car_front()//go front
{
digitalWrite(left_ctrl,LOW);
analogWrite(left_pwm,200);
digitalWrite(right_ctrl,LOW);
analogWrite(right_pwm,200);
}
void car_back()//go backward
{
digitalWrite(left_ctrl,HIGH);
analogWrite(left_pwm,200);
digitalWrite(right_ctrl,HIGH);
analogWrite(right_pwm,200);
}
void car_left()//turn left
{
digitalWrite(left_ctrl,HIGH);
analogWrite(left_pwm,200);
digitalWrite(right_ctrl,LOW);
analogWrite(right_pwm,200);
}
void car_right()//turn right
210

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Smart Little Turtle Robot V3 and is the answer not in the manual?

Questions and answers

Table of Contents