![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Controls/Target.h
- Committer:
- amandaghassaei
- Date:
- 2015-12-05
- Revision:
- 9:1d9b24d7ac77
- Parent:
- 2:17b18ea93551
- Child:
- 12:49813131dd15
File content as of revision 9:1d9b24d7ac77:
#ifndef Target_h #define Target_h class Target{ public: Target(){ setPosition(6); } void setPC(Serial *pc){ _pc = pc; } void setPosition(int position){ _position = position; } int getPosition(){ return _position; } private: Serial *_pc; int _position; }; #endif