Go Down

Topic: Controlling 2 servos with a keyboard press through Processing (Read 962 times) previous topic - next topic


I am trying to move 2 servos with a keyboard press through "Processing".
I have found a very thorough run through on Instructables (http://www.instructables.com/id/Moving-a-Motor-Using-Arduino-and-Serial-Communcati/) but it doesn't recognize the key press.
The TX light flashes on the Arduino when the key is pressed, but nothing happens to the servo.
Any ideas or other pages with alternative codes?


For receiving data on your Arduino have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up