good

Dependencies:   mbed

Fork of BX-car by Clark Lin

Revision:
7:fd976e1ced33
Parent:
0:68c173249c01
--- a/motor_api.cpp	Wed Jun 11 14:41:52 2014 +0000
+++ b/motor_api.cpp	Sun Jun 22 13:58:01 2014 +0000
@@ -39,7 +39,7 @@
        case 'B':     
          
          forward_B = new PwmOut(PTC1);
-         backward_B = new PwmOut(PTC2);
+         backward_B = new PwmOut(PTE30);
          forward_B->period_ms(init_v);
          backward_B->period_ms(init_v);
          *forward_B=0.5f;