This might also be of some help if you still need it.
http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard