bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Revision:
8:1a3a69fecedf
Parent:
7:7efcd3bf3302
Child:
9:1d9b24d7ac77
--- 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);
     }
 }