Pages: [1]   Go Down
Author Topic: Help with C++ interfacing  (Read 310 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I'm very new to programing in C ++ and C#. However I would like to use either programing language to communicate with my arduino. Right now I have a simple sketch uploaded onto my arduino board that turns on a LED when the user types 'H' in the serial monitor window.

Now I would like to interface this code with C++. Can anyone please tell me the best way to do this? Or if anyone has some sample C++ code that they can send me to get me started, that would be great too. Any help on getting me started would be greatly appreciated!

Thanks,
Bella
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You might want to read over this topic from the Arduino playground site:

http://www.arduino.cc/playground/Interfacing/CPPWindows

« Last Edit: June 04, 2010, 12:04:49 pm by retrolefty » Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26324
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

please don't cross-post - it wastes time:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1275668049/0#0
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: