ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot by ECE4333 - 2018 - Ahmed & Brandon

Files at this revision

API Documentation at this revision

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 )