Go Down

Topic: arduino servo (Read 602 times) previous topic - next topic

Yashwant98

namaskar    iam yashwant from ahmedabad   and i  want to know that how to operate two servo motor at a same time in diffrent direction



....?

AWOL

Use two Servo objects, and send them different position values.

jackthom41

Yeah interface two servo motors with your arduino. In order to rotate servo we have to give it the angle value, so you can create for loop where you can start first from 0 to 255 and the other from 255 to 0 and they will move in opposite direction.

Before asking for help, you should do some work first, at least interface single servo motor with arduino, you will understand the rest by yourself.
Technopreneur

AWOL

you can start first from 0 to 255 and the other from 255 to 0 and they will move in opposite direction.
You've not used the Servo class very often, @jackthom41, I'm guessing.

Naveen_prashanth

Guys need a help
What's the use of atmega328p and atmega328-pu
 

Go Up