Tuk tutoriail

Dependencies:   mbed lib_workshop_2019

Revision:
7:c7ff04228b11
Parent:
5:d99659a45cab
Child:
9:19255172362f
--- a/src/test_motor/ft_run_motor.cpp	Thu Oct 24 04:14:47 2019 +0000
+++ b/src/test_motor/ft_run_motor.cpp	Thu Oct 24 05:49:30 2019 +0000
@@ -16,15 +16,15 @@
     
     if (direction == FORWARD)
     {
-        dirA = 1;
-        dirB = 0;   
+       
+       
     }
     else // direction == BACKWARD
     {
-        dirA = 0;
-        dirB = 1;  
+      
+      
     }
     
     /* TO DO : apply duty cycle to pwm_mot */
-    pwm_mot = duty_cycle;
+
 }