I have a question please. (robot control)
I can’t have my motor to run properly in a programmed sequence :
I mean :
I’ve done a sketch which should control a DC motor :
if distance< “…” motor should stop, then go backward, then wait, then go forward …
I have a motor shield.
Everything is fine for the first action :
if distance< “…” motor stops
but I can’t manage the motor to do the 3 following actions (ie go backward, stop, and go forward)
I’m writing the instructions right after “motor stops” but nothing happens …
No code error by the way.
Any idea ?