MOVED: reading the serial port

This topic has been moved to Programming Questions.

http://arduino.cc/forum/index.php?topic=143359.0