bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Controls/Target.h

Committer:
amandaghassaei
Date:
2015-12-03
Revision:
2:17b18ea93551
Child:
9:1d9b24d7ac77

File content as of revision 2:17b18ea93551:

#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