Arduino Forum

Using Arduino => Interfacing w/ Software on the Computer => Topic started by: mrpipes33 on Jun 13, 2017, 06:22 am

Title: Controlling 2 servos with a keyboard press through Processing
Post by: mrpipes33 on Jun 13, 2017, 06:22 am
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?
Title: Re: Controlling 2 servos with a keyboard press through Processing
Post by: Robin2 on Jun 13, 2017, 10:07 am
For receiving data on your Arduino have a look at the examples in Serial Input Basics (http://forum.arduino.cc/index.php?topic=396450.0) - simple reliable ways to receive data.

...R