bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Diff: main.cpp
- Revision:
- 8:1a3a69fecedf
- Parent:
- 7:7efcd3bf3302
- Child:
- 9:1d9b24d7ac77
diff -r 7efcd3bf3302 -r 1a3a69fecedf main.cpp --- a/main.cpp Thu Dec 03 06:09:28 2015 +0000 +++ b/main.cpp Thu Dec 03 23:55:44 2015 +0000 @@ -4,14 +4,14 @@ #include "Controls.h" Controls controls; -Comm comm(&(controls.gains), &(controls.target), &(controls.myMPU6050_1)); +Comm comm(&(controls.gains), &(controls.target)); int main() { while(1) { controls.loop(); comm.check(); - comm.printPosition(); + comm.printPosition(&controls); } }