Keyestudio Smart Little Turtle Robot V3 Manual page 193

Table of Contents

Advertisement

www.keyestudio.com
}
void car_left()//set the status of left turning
{
digitalWrite(left_ctrl,LOW);
analogWrite(left_pwm,200);
digitalWrite(right_ctrl,HIGH);
analogWrite(right_pwm,200);
}
void car_right()//set the status of right turning
{
digitalWrite(left_ctrl,HIGH);
analogWrite(left_pwm,200);
digitalWrite(right_ctrl,LOW);
analogWrite(right_pwm,200);
}
void car_Stop()//define the state of stop
{
analogWrite(left_pwm,0);
analogWrite(right_pwm,0);
}
//The function that dot matrix shows pattern
void matrix_display(unsigned char matrix_value[])
193

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents