adding pwm for bbb
removed debuggin