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.
Page Index Toggle Pages: 1
serial locks bx24 (Read 1951 times)
serial locks bx24
Apr 28th, 2005, 3:48am
 
i'm successfully getting processing and a BX24 talking to each other.  the updated Serial docs are excellent...however, there's a problem.  i can only run my sketch once.  after stopping and restarting a sketch, the BX locks up and needs to be reset manually or stopped and restarted in the BasicX environment.

i thought it might require a Serial.stop call, or maybe a Serial.clear() call, but neither makes a difference -- the BX locks up regardless.  any ideas?
Re: serial locks bx24
Reply #1 - Apr 28th, 2005, 11:39pm
 
First thing I would do is test to see if it's the BX24 or Processing:

-- connect to the BX24 using Hyperterminal.  Send whatever Processing is sending, and see if the BX24 locks up still.  Try the same with any other serial-capable program or programming environment that you can: Max/MSP, Director, Processing 0068, etc.

-- Connect Processing serially to another computer that's sending the same thing as the BX24.  See if Processing locks up.

Personally, I suspect the BX24. I tested with a PIC and both the PIC and Processing worked like a charm.


Page Index Toggle Pages: 1