Arduino Forum
>
Using Arduino
>
Interfacing w/ Software on the Computer
>
Controlling 2 servos with a keyboard press through Processing
Print
Go Down
Pages:
[1]
Topic: Controlling 2 servos with a keyboard press through Processing
(Read 962 times)
previous topic
-
next topic
mrpipes33
Newbie
Posts: 2
Karma: 0
[add]
Controlling 2 servos with a keyboard press through Processing
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?
Robin2
Brattain Member
Posts: 69,829
Karma: 3578
[add]
Re: Controlling 2 servos with a keyboard press through Processing
#1
Jun 13, 2017, 10:07 am
For receiving data on your Arduino have a look at the examples in
Serial Input Basics
- simple reliable ways to receive data.
...R
Two or three hours spent thinking and reading documentation solves most programming problems.
Print
Go Up
Pages:
[1]
Loading...