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 strings via Serial
Page Index Toggle Pages: 1
Sending strings via Serial (Read 975 times)
Sending strings via Serial
Oct 17th, 2008, 12:02am
 
Hi

I was wondering if some can help me

I am trying to send string to a arduino some thing like R1034,G3456,B1920 i am guessing i have to send it one character/number at time but how can i break it this string down ?

Or is there a simpler way of doing it ?

Cheers

J
Re: Sending strings via Serial
Reply #1 - Oct 17th, 2008, 1:25pm
 
Processing's write() function allows you to pass in a String to send:

http://processing.org/reference/libraries/serial/Serial_write_.html
Re: Sending strings via Serial
Reply #2 - Oct 27th, 2008, 7:07pm
 

Thanks shiffman

I was sure that i tried that must be going mad

Cheers

J
Page Index Toggle Pages: 1