Code that I have developed for using my beaglebone - developed during thesis