tarou yamada / Robot

Dependents:   RobotBase

Robot.h

Committer:
inst
Date:
2015-08-21
Revision:
1:48028dcad4e2
Parent:
0:91d31b26ae9e
Child:
2:0d9bb8e1876b

File content as of revision 1:48028dcad4e2:

#ifndef INCLUDED_ROBOT_H
#define INCLUDED_ROBOT_H

#include "mbed.h"
class I2CDevice;

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

#endif