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 & HelpOther Libraries › Serial library + NXTcomm library malfunction
Page Index Toggle Pages: 1
Serial library + NXTcomm library malfunction (Read 320 times)
Serial library + NXTcomm library malfunction
Jun 16th, 2008, 6:24pm
 
Hi all,

I've been trying to get processing to talk to the mindstorms NXT brick (using NXTcomm) and an Arduino simultaneously (make the Arduino an input device bridge for the NXT robot) but i seem to run into some misfortune.

Both communicating to the Arduino OR the NXT separately works great (iMac G4 usb2.0, osX 10.4.11), but for some reason it seams that when the code is combined into one sketch, the serialEvent() that should be triggered by the arduino sending data refuses (although compiling goes fine, and no connection errors)...

The NXT code works fine though when running the combined code, and when I purposely leave the NXT robot off, and run the sketch, communicating with the arduino works just fine as well...

is this a known issue, and if so, is there a way around?

if i need to post code / more info, let me know.

Bram
Page Index Toggle Pages: 1