beginners help..servos

hi,

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.

Korman

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.