ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot by ECE4333 - 2018 - Ahmed & Brandon

Revision:
12:172c448a359e
Parent:
9:fe56b888985c
Child:
14:5777377537a2
--- a/ui.cpp	Sat Mar 03 00:08:16 2018 +0000
+++ b/ui.cpp	Sat Mar 03 00:33:41 2018 +0000
@@ -35,7 +35,7 @@
 extern int32_t e;
 extern int32_t xState;
 extern int32_t u;
-extern int time_passed;
+//extern int time_passed;
 */
 
 int16_t position;
@@ -164,6 +164,7 @@
                 setpointR = 280;
             }
             setpointR_mutex.unlock();
+            bluetooth.printf("\r\n %5d", setpointR);
         }
 
         // if s is pressed decrease the speed
@@ -193,7 +194,7 @@
                 setpointL = 280;
             }
             setpointL_mutex.unlock();
-            
+            bluetooth.printf("\r\n %5d", setpointL);
         }
         else if (x=='k')
         {