So I have 3 continuous rotation Parallax servos, 3 pushbutton switches, and a motor, hooked up to my breadboard/arduino duemilanove on the digital pins. The servos are each attached to a pinion in a rack and pinion system, so that each one will descend a piston of sorts. Whenever a pushbutton is depressed, it needs to cause the corresponding servo to rotate slowly in one direction as long as it is being pushed, and when released, the single servo will stop. What I am getting from the code I have is that whenever I push a button, the corresponding servo will rotate, but the other two will either twitch or rotate as well. I looked this up and what ive gotten is that theres a delay from the arduino having to read multiple inputs at once, and the servos are updating too fast without response from the arduino, and thus twitch or spin. Please help me out. Its my first code Ive ever written for the arduino, and its for a class project thats due soon.

I've had continous rotation servos connected to my arduino that priodically twitched while resting at the neutral value (but not detached). If you don't have your buttons kept low with a resistor, you may be getting some floating high inputs. The code below puts the button between the pin and ground such that button press pulls the pin low. Otherwise the pin is kept high internally in the arduino.