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 › How to seperat two serial inputs from arduino
Page Index Toggle Pages: 1
How to seperat two serial inputs from arduino (Read 1123 times)
How to seperat two serial inputs from arduino
May 30th, 2007, 7:05pm
 
Hey
I have a problem with seperating to signals from arduino. i get the two signals in two diffrent lines, but how do i seperat them so i can use them to different things.
is it porsibul to read the first line first and then the second line, and if so how to do it?
Thanks johanne
Re: How to seperat two serial inputs from arduino
Reply #1 - Aug 26th, 2007, 3:11am
 
Have you tried sending the bytes one at a time?, or, add char(9) in between the bytes being sent by Arduino, then you can use the split splitTokens method in processing to separate the two bytes.
Page Index Toggle Pages: 1