Hi. I have an arduino uno and 5 Futaba S3114 Micro High-Torque Servo Motors. I was wondering what the code would look like to run each servo individually by a press and hold of a key.(It would also be nice to know what to do for multiple servos at one time) For example if I press "a" on my keyboard the servo moves, and when I release "a" the servo stops.
Thanks for the help!
You need a program on your pc (if it was the pc-keyboard you meant) that candetected events key-push and key-release. Example is Processing http://processing.org The program there will send a byte to the Arduino which controls the servo.
I see what you're saying, but I don't know any other programing languages. Is there a way to do this in the arduino code?
How do you think the connection between the keyboard and the Arduino should be? What keys or keyboard are you thinking of - I may have guessed wrong?