BeagleBone Black code for Senior Design project