turnR();
delay(400);
stopp();
delay(50);
Set_servopulse(DuoJiao);
Show_DuoJiao(DuoJiao);
H = Ultrasonic_Ranging(1);
delay(300);
}
if (ask_pin_L(2) < 35 && ask_pin_R(3)< 35)
{
stopp();
delay(50);
back();
delay(50);
}
}
else
{
advance();
}
}
int Ultrasonic_Ranging(unsigned char Mode)//function of ultrasonic distance detecting ,MODE=1,displaying,no displaying under other situation
{
int old_distance;
keyestudio
www.keyestudio.com
141
Need help?
Do you have a question about the 4WD Bluetooth Multi-functional Car and is the answer not in the manual?