Robotics Term Project / Mbed 2 deprecated Robottics_Motion

Dependencies:   mbed

Revision:
19:5091c934ebd0
Parent:
18:2db6c97a4145
Child:
20:5b892e37a958
diff -r 2db6c97a4145 -r 5091c934ebd0 AI_Friday.cpp
--- a/AI_Friday.cpp	Wed May 25 13:29:52 2016 +0000
+++ b/AI_Friday.cpp	Wed May 25 13:38:27 2016 +0000
@@ -90,7 +90,7 @@
             pc.putc(bluetooth.getc());
         }
         
-        /*if(Command_Flag == 1)
+        if(Command_Flag == 1)
         {
             //read data from matlab
             //distance_target
@@ -146,7 +146,7 @@
             else if(Receive_Data[33] == 'k')pwm_duty = 100;
             
             Command_Flag = 0;
-        }*/
+        }
     }
 }