Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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