Changed code to use BeagleBone Black PWM outputs, removed arduino code.