ManualControl
Dependencies: TPixy-Interface
Fork of MbedOS_Robot by
Revision 13:2a00b7a6f4bd, committed 2018-03-03
- Comitter:
- asobhy
- Date:
- Sat Mar 03 00:53:06 2018 +0000
- Parent:
- 12:172c448a359e
- Child:
- 14:5777377537a2
- Commit message:
- two motors working after robots assembly and direction correction
Changed in this revision
Drivers/motor_driver_l.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Drivers/motor_driver_l.cpp Sat Mar 03 00:33:41 2018 +0000 +++ b/Drivers/motor_driver_l.cpp Sat Mar 03 00:53:06 2018 +0000 @@ -55,7 +55,7 @@ * @param speed * @return motor_state_t the state of the motor driver *******************************************************************************/ -motor_state_t motorDriver_L_forward(int speed) +motor_state_t motorDriver_L_reverse(int speed) { if( motor_status != MOTOR_UNINIT ) @@ -77,7 +77,7 @@ * @param speed * @return motor_state_t the state of the motor driver *******************************************************************************/ -motor_state_t motorDriver_L_reverse(int speed) +motor_state_t motorDriver_L_forward(int speed) { if( motor_status != MOTOR_UNINIT )