kao yi
/
Bov3
wu
Fork of CCC by
Diff: motor_api.cpp
- Revision:
- 10:03d5aa2511c4
- Parent:
- 7:fd976e1ced33
--- a/motor_api.cpp Tue Jun 24 10:06:54 2014 +0000 +++ b/motor_api.cpp Thu Jun 26 09:15:35 2014 +0000 @@ -38,8 +38,8 @@ case 'B': - forward_B = new PwmOut(PTC1); - backward_B = new PwmOut(PTE30); + forward_B = new PwmOut(PTE29); + backward_B = new PwmOut(PTE23); forward_B->period_ms(init_v); backward_B->period_ms(init_v); *forward_B=0.5f;