motor controller

Dependencies:   mbed plotter

Revision:
4:4e00b310811d
Parent:
3:08746709f023
Child:
7:ed19a937daa0
--- a/main.cpp	Sun Oct 30 19:55:58 2016 +0000
+++ b/main.cpp	Sun Oct 30 22:30:39 2016 +0000
@@ -6,12 +6,13 @@
 
 
 int main() {
-    printf("starting........\n\r");
+    init_plotter(9);
     setup();
     while(true)
     {
-        wait(0.2);
-        //printf("velocity: %f v_err: %f %\n\r", get_debug(1), get_debug(2));
+        wait(0.1);
+        //plot(0, 0.2);
+        send_message();
     }
     
 }