We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › Sending objects to arduino
Page Index Toggle Pages: 1
Sending objects to arduino (Read 1293 times)
Sending objects to arduino
Apr 9th, 2010, 8:37am
 
Hello!

How can I send objects to the Arduino?

I need to give orders to the arduino sometimes to light a led and other times to go to rotate the motor to specific angle. I wanted to make an object where I could specify what to do with the Led and the motors.

 Creating an object is the best way to handle this, no?
Re: Sending objects to arduino
Reply #1 - Apr 11th, 2010, 6:42am
 
Sorry, I do not have information about Processing, I was nearby and entered the website, but I think you can control a LED or what ever using Arduino IDE which is almost similar to Processing IDE.

Or if you have the book "Getting Started with Arduino", there is an example of using Processing sketch with Arduino.
Re: Sending objects to arduino
Reply #2 - Apr 11th, 2010, 10:52pm
 
This library might help:
http://www.arduino.cc/playground/Interfacing/Processing

Remember to upload Firmata to the Arduino to get it to work.
Page Index Toggle Pages: 1