BeagleBone Motor Control: Code for my Diploma Thesis