bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Revision:
9:1d9b24d7ac77
Parent:
2:17b18ea93551
Child:
12:49813131dd15
--- a/Controls/Target.h	Thu Dec 03 23:55:44 2015 +0000
+++ b/Controls/Target.h	Sat Dec 05 00:40:42 2015 +0000
@@ -1,15 +1,18 @@
 #ifndef Target_h
 #define Target_h
 
-#include "CommDelegate.h"
 
-class Target: public CommDelegate{
+class Target{
 
     public:
     
         Target(){
             setPosition(6);
         }
+        
+        void setPC(Serial *pc){
+            _pc = pc;
+        }
     
         void setPosition(int position){
             _position = position;
@@ -22,6 +25,8 @@
     
     private:
     
+        Serial *_pc;
+    
         int _position;
     
 };