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 & HelpPrograms › sir! please help me!
Page Index Toggle Pages: 1
sir! please help me! (Read 578 times)
sir! please help me!
Dec 21st, 2005, 8:23am
 
sir!
   i run the example code of library of
// Example by Tom Igoe
import processing.serial.*;
// The serial port:
Serial myPort;      
// List all the available serial ports:
println(Serial.list());
/*  I know that the first port in the serial list on my mac
is always my  Keyspan adaptor, so I open Serial.list()[0].
Open whatever port is the one you're using.
*/
myPort = new Serial(this, Serial.list()[0], 9600);
// Send a capital A out the serial port:
myPort.write(65);
************************************************
****************************************8
but it tell me
->
java.lang.NoClassDefFoundError: and
Exception in thread "main"

can you tell me why!   thank you!
Page Index Toggle Pages: 1