Arduino Code as part of the University 2014-2015 Semester 1 Electronics and Instrumentation module.