/* for(pos1=180;pos1<0; pos1+=1)
The code above will move the RC car forward and backward. When you change the code to run the portion that is commented out, the code will move the servo from left to right.
I would like to move the servo then move forward or backward. I’ve tried moving the code inside the servo for loop but I haven’t got any luck.
Any reason why both sections of the code can’t be executed at the same time?