Jared DiCarlo
/
george
motor controller
main.cpp
- Committer:
- dicarloj
- Date:
- 2016-10-30
- Revision:
- 2:7312ac02785d
- Parent:
- 0:f899a5183b5e
- Child:
- 3:08746709f023
File content as of revision 2:7312ac02785d:
#include "mbed.h" #include "io.h" #include "plotter.h" #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)); } }