The Processing serial library allows for easily reading and
writing data to and from external machines. It allows two
computers to send and receive data and gives you the flexibility
to communicate with custom microcontroller devices, using them
as the input or output to Processing programs. The serial port
is a nine pin I/O port that exists on many PCs and can be
emulated through USB. Using the Serial Port - If you're using a
program to check to see if the serial port is working, then it
won't be available to Processing. That means that if you're
using HyperTerminal or whatever to see if your serial device is
working, then you need to quit out of that application before
using that port with Processing. - Serial.list() will only list
the ports that are currently available. So if you have a program
that's using the serial port that you want to use for your
Processing sketch, it's not going to be available, or even
listed. - If you get an error reading something like this:
WARNING: RXTX Version mismatch Jar ver