tarou yamada / Robot

Dependents:   RobotBase

Robot.h

Committer:
inst
Date:
2015-07-02
Revision:
0:91d31b26ae9e
Child:
1:48028dcad4e2

File content as of revision 0:91d31b26ae9e:

#ifndef INCLUDED_ROBOT_H
#define INCLUDED_ROBOT_H

#include "mbed.h"
class I2CDevice;

class Robot{
public:
    Robot( int numOfI2CDevice );
    ~Robot();
    void update();
    
protected:
    I2CDevice** mI2CDevice;
    const int mNumOfI2CDevice;
private:
    virtual void updateAction() = 0;
    
    void readI2CDevice();
    void writeI2CDevice();
};

#endif