motor controller

Dependencies:   mbed plotter

Revision:
3:08746709f023
Parent:
2:7312ac02785d
Child:
4:4e00b310811d
--- a/main.cpp	Sun Oct 30 19:37:46 2016 +0000
+++ b/main.cpp	Sun Oct 30 19:55:58 2016 +0000
@@ -4,15 +4,14 @@
 #include "foc.h"
 #include "vehicle_controller.h"
 
-DigitalOut en(PB_15);
+
 int main() {
-    en = 1;
     printf("starting........\n\r");
     setup();
     while(true)
     {
         wait(0.2);
-        printf("velocity: %f v_err: %f %\n\r", get_debug(1), get_debug(2));
+        //printf("velocity: %f v_err: %f %\n\r", get_debug(1), get_debug(2));
     }
     
 }