This is a demo program for Unix machines that have access to a serial port.  
The program reads and writes from the serial port as if it were a file, so be 
sure that your permissions are set correctly.  

To compile the CMUcamGUI demo program, ensure that you have a java development 
environment installed that allows you to use the "java" command ("javac" if 
you wish to recompile). CMUcamGUI requires java v1.2.2 or higher.

To compile the java files, cd into their directory and type
>javac *.java

Before you execute the file you need to ensure your serial port is set 
correctly.  The java program does not have any low level control over the 
port yet.  You need to set the port to be 115,200 8N1 :
115,200 Baud
8 Data bits
1 Stop bit
No Parity
No Flow Control (Not Xon/Xoff or Hardware)

The easiest way to do this is with a terminal program like Minicom.
If you are using linux, you can use the provided "serialConfig" utility.
For instance to set serial port 1 type
>./serialConfig /dev/ttyS0
         or try
>./serialConfig /dev/modem

To execute the java program type
>java CMUcamGUI



*Notes about CMUcamGUI:
In this early release, many of the scaling features of the CMUcam cause
problems.  At 17 fps, 115,200 baud things perform as they should.  At lower
baud rates and slower frame rates commands like bitmap mode may start to fail,
due to the longer or shorter serial transfer window.  In many of the more
advanced modes, CMUcam will scale output data based on these factors.  The java
GUI assumes 17 fps at 115,200 baud. These problems will be fixed in later 
releases.


