Hi all
I'm really a newbie in the arduino world and i wanted to build a little car whose wheels will be controlled by a dc-motor and there angle will be controlled by a servo. So basicly there's a Dc motor on top of a servo.
I wrote some code which actually should turn the servo 90 decrees then activate the motor, turn the servo from 90 decrees back to 0 and turn the motor again on.The Problem is when the motor start, the servo turns to 0 and when it actually should turn from 90 to 0 it goes first from 0 to 90 then to 0.
sketch_sep27a.ino (699 Bytes)