bio robot
Dependencies: MPU6050-DMP QEI_hw mbed-rpc mbed
Fork of MPU6050_Example by
Diff: Controls/Target.h
- Revision:
- 2:17b18ea93551
- Child:
- 9:1d9b24d7ac77
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Controls/Target.h Thu Dec 03 02:23:34 2015 +0000 @@ -0,0 +1,29 @@ +#ifndef Target_h +#define Target_h + +#include "CommDelegate.h" + +class Target: public CommDelegate{ + + public: + + Target(){ + setPosition(6); + } + + void setPosition(int position){ + _position = position; + } + + int getPosition(){ + return _position; + } + + + private: + + int _position; + +}; + +#endif \ No newline at end of file