How to use a push button to control a servo motor and two LED's.

I can't figure out how to use a push button to control a servo motor and two LED's. Thanks in advance!

The Arduino IDE and Playground have examples of buttons, LEDs and servo control.

Start there!

By the way, do not attempt to power a servo from the 5V output. That will damage the Arduino, so use a separate battery or power supply, and connect the grounds together.

ashleyhaw: Thanks in advance!

For what?- you didn't actually ask a question.

(I'm not being funny: you need to describe what you want the button to do in terms of controlling the servo and leds. Press once to start the servo and once more to stop it? Or press and hold to move and release to stop? One led on while it's moving, the other on when it's stopped? etc etc....)

Hi, Welcome to the forum.

Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html

What do you want to do? Press the button then what do you want the servos to do?

Tom.. :)