Interfacing w/ Software on the Computer
How to control an Arduino from a PC
Topic: How to control an Arduino from a PC
(Read 8041 times)
Have you testrun your INO file today?
Re: How to control an Arduino from a PC
Jan 30, 2011, 11:29 pm
: Jan 30, 2011, 11:32 pm by Msquare
Quote from: 058606 on Jan 28, 2011, 09:13 pm
Yes, I'm asking for what language to use, and how to make it "tell" the Arduino what to do.
My "vote" is for the
program, given the broadness of your query. Other forum uses suggested it, too, earlier in this thread. One thing may be confusing - Processing is Java based, and the Arduino is C++ based, so the languages are similar but there are quirks of syntax that drive me mad when writing in both IDEs for the same project.
With Processing you still have to write a program to use the pc mouse/keyboard/screen, and then you can use the same Serial-style library to send bytes with commands and parameters to the Arduino board. You still have to write an Arduino program to recieve and interpret the bytes and do what it needs to do to the pins (and the same with sending results the other way). There is a readymade program Firmata for the Arduino that makes it easier to control it from the Processing program (or any other program on th pc), but I have not tried it ior looked at it in detail.
EDIT: Just saw a good example at
(NB: This was my 100th post)