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.
Data.h
- Committer:
- YosukeK
- Date:
- 2015-02-14
- Revision:
- 2:144ca2f5d850
- Parent:
- EventArg.h@ 0:32eb0835b5a3
File content as of revision 2:144ca2f5d850:
#include <mbed.h>
#ifndef __DATA_H_INCLUDED__
#define __DATA_H_INCLUDED__
/**
* データクラス
* 基底のクラス定義のみ
*/
class Data {
public:
Data();
~Data();
private:
};
#endif
#ifndef __SENDDATA_H_INCLUDED__
#define __SENDDATA_H_INCLUDED__
/**
* 送信データクラス
* データクラスから派生
*/
class SendData : public Data {
static const int LENGHT = 2;
public:
SendData();
SendData(int left, int right);
int get(int index);
private:
int wheelVelocity[LENGHT];
};
#endif