Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumProgramming Questions & HelpIntegration › Using a computer to control the microprocessor

Page Index Toggle Pages: 1
Using a computer to control the microprocessor (Read 2863 times)
02/18/10 at 14:21:36

ijmbarr   Offline
YaBB Newbies

Posts: 3
*
 
I'm currently using the jx-mega128 to try and control several things from a computer connected by usb. Currently I'm using the serial connection through wiring to connect and things are working, but I'd like to move use a c++ or python programme to do this automatically.

I've no idea where to start.  I'm not a great programmer and haven't really had to do this before. I've had a look at http://www.wiring.org.co/learning/tutorials/C++/ but am not really sure how that works, plus it doesn't describe how to send data to the microprocessor.

The same for the Firmata library. It seems geared towards someone who already has experience using this things. Are their any examples or tutorials out there designed for beginners on the subject? Any books worth reading on the matter?

Any help at all would be appreciated.
 
IP Logged
 
Reply #1 - 02/18/10 at 21:18:34

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
As I understand you need to receive/send data from a C/C++ program running on your PC right?
Here is a small example from Andres Burbano which includes C++ code to communicate with Wiring, http://wiring.org.co/learning/tutorials/C++/

Simon Blackmore made an example using phyton and Blender: http://www.simonblackmore.net/notes/doku.php?id=wiring_to_blender

I am not sure if this helps you or you mean to program the Wiring hardware or atmega128 directly in C++
Please let me know.
 
IP Logged
 
Page Index Toggle Pages: 1