This project contains both the code for the arduino and the Java code
which writes values to the arduino.

In order to run this code, make sure that:
  * You have Java JDK 7 installed
  * You have Apache Ant installed
  * If you are not using a 64bit machine you have replaced the native
    libraries of rxtx in lib/natives with the 32 bit equivalents
  * You have configured the port your arduino is on in the
  resources/port.txt file - if you want to list all the serial ports,
  just run the program



In order to run the program
   1. Open up terminal/command prompt (I think it will work with
   command prompt...I haven't tested)
   2. Type "ant compile"
   3. Type "ant run"


FAQ
----------------------

What do I do if I get the message: 
     "Exception in thread "main" java.io.IOException: gnu.io.NoSuchPortException"?

This means that the program was unable to find the port you had
configured in resources/port.txt. Make sure that your arduino is
plugged in and run the command again. If you look at the top of the
output, you should see something like:
	Available ports....
	MY_PORT_NAME - Serial
	MY_PORT2_NAME - Serial
Put the correct MY_PORT_NAME as a single line in resources/ports.txt

