Arduino serial 

This code is based upon the tutorial from Sparkfun to control arduino with processing IDE.