www.keyestudio.com
{
myMatrix.clear();
myMatrix.writeDisplay();
matrix_display(matrix_smile);
int track_flag = 0;
while(track_flag == 0)
{
distance1=sr04.Distance();
if((distance1 < 10)&&(distance1 != 0))
{
car_Stop();
myMatrix.clear();
myMatrix.writeDisplay();
matrix_display(matrix_stop2);
delay(100);
servopulse(servopin,180);
delay(100);
distance2=sr04.Distance();
delay(100);
servopulse(servopin,0);
delay(100);
distance3=sr04.Distance();
220
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