Go Down

Topic: beginners help..servos (Read 1 time) previous topic - next topic



I am an architecture student and a beginner to arduinos, was wondering how to have two servos and two potentiometers at the same time? if so what would the code look like? (sorry for problably very simple question!)

Thank you.


Look at the samples for the Servo library.

For the two potentiometers, take your normal AnalogIn example and read first one potentiometer then the other.



Thankyou very much,

think I have the code down, but don't understand how to wire the two potentiometers as the 5v and gnd input is taken up for one, no idea where to put the second potentiometer..


attach them both to the same place. just splice the wires together.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131