This code was adapated from www.github.com/derekmolloy/beaglebone to be implemented on my fourth year project "An ARM Controlled Internet Camera Dolly". This code uses SimpleGPIO.h and SimpleGPIO.cpp, they were not modified from the previously mentioned github repository and so they must downloaded from there and not from here.