tarou yamada / Robot

Dependents:   RobotBase

Robot.h

Committer:
inst
Date:
2015-10-14
Revision:
2:0d9bb8e1876b
Parent:
1:48028dcad4e2
Child:
3:4dbbd511a49d

File content as of revision 2:0d9bb8e1876b:

#ifndef INCLUDED_ROBOT_H
#define INCLUDED_ROBOT_H

#include "mbed.h"
class I2CDevice;

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

#endif