Code I have written for the beagle bone black