hi
i make this code to be used with my robot car " i use DC motors"
but when i upload this code to the arduino nothing happens !
also,when i delete the calling of the function >> stop,,it works !
i've no idea where's the problem,,,can anyone help me ?
i wanna make the car go forward for one second and then stop
this the code >>
Maybe the explanation might have something to do with how much experience (or lack thereof) you have with arduino.
If you tell me how much experience you have I will answer your question.
Technically, you are supposed to tell us this when you post so we know how to answer your question.
Also, please use the "#" CODE TAGS toolbutton next time you post your code:
Your main loop was empty.
All the code was in the setup which only executes once which means the last command executed is the stop command.
Did you write that code ?