Poll
Question: What is the easiest programming language to use that can interface with an Arduino?
Visual Basic - 2 (50%)
C# - 2 (50%)
C - 0 (0%)
Total Voters: 4

Pages: 1 [2]   Go Down
Author Topic: How to control an Arduino from a PC  (Read 4557 times)
0 Members and 1 Guest are viewing this topic.
Copenhagen, Denmark
Offline Offline
Edison Member
*
Karma: 32
Posts: 1204
Have you testrun your INO file today?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Processing 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 http://arduino.cc/forum/index.php/topic,50449.msg359623.html#msg359623


(NB: This was my 100th post)
« Last Edit: January 30, 2011, 05:32:07 pm by Msquare » Logged

Pages: 1 [2]   Go Up
Jump to: