22

Dependencies:   mbed

Fork of StewartPlatform by Guojun Jiang

Revision:
3:0cba1132c8a3
Parent:
2:50062ac8646d
diff -r 50062ac8646d -r 0cba1132c8a3 main.cpp
--- a/main.cpp	Sat May 07 12:27:09 2016 +0000
+++ b/main.cpp	Tue May 31 00:26:35 2016 +0000
@@ -1,5 +1,5 @@
 #include "mbed.h"
-//#include "motor.h"
+#include "motor.h"
 #include "usart.h"
 //#include "file.h"
 
@@ -8,6 +8,7 @@
 extern Serial usart;
 
 extern char position[6];
+
 extern bool instructionReceived;
 
 int main() {
@@ -21,7 +22,8 @@
             instructionReceived = false;
             usart.printf("0 \n" );
             //usart.printf("pos(%d,%d,%d,%d,%d,%d) \n", position[0], position[1], position[2], position[3], position[4], position[5]);
-//            motor_drive();
+            motor_drive();
         }
     }
 }
+