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 on Ubuntu
Page Index Toggle Pages: 1
Serial Library on Ubuntu (Read 705 times)
Serial Library on Ubuntu
Jun 1st, 2007, 12:53am
 
Hi All,

I'm running a bluetooth simulated serial port on my ubuntu box, which seems to work (i've checked by using kermit to connect to my sparkfun WiTilt board, and it works fine)

I'm using the same code as i've tested under os x but....

When i try to write to the serial port from processing i get a null pointer exception:

java.lang.NUllPointerExecption
at processing.serial.Serial.write(Serial.java:505)
at processing.serial.Serial.write(Serial.java:528)
at Temporary_573_4213.setup(Temporary_573_4213.java:68)

RXTX is on version 2.1-7
processing is on 0124

Any ideas? Getting desperate!

thanks in advance!

-h
Page Index Toggle Pages: 1