digitalWrite(pinLB,LOW);
digitalWrite(pinLF,HIGH);
Car_state = 3;
show_state();
}
void stopp()
//stop
{
digitalWrite(pinRB,HIGH);
digitalWrite(pinRF,HIGH);
digitalWrite(pinLB,HIGH);
digitalWrite(pinLF,HIGH);
Car_state = 5;
show_state();
}
void back()
//back up
{
digitalWrite(pinRB,HIGH); //making motor move towards right rear
digitalWrite(pinRF,LOW);
digitalWrite(pinLB,HIGH); //making motor move towards left rear
digitalWrite(pinLF,LOW);
Car_state = 2;
show_state() ;
}
void show_state(void)
{
lcd.setCursor(0, 1);
keyestudio
//making motor move towards left rear
www.keyestudio.com
123
Need help?
Do you have a question about the 4WD Bluetooth Multi-functional Car and is the answer not in the manual?