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.
Fork of Nucleo_CaitSith_Firmware by
Data.h
- Committer:
- YosukeK
- Date:
- 2015-02-28
- Revision:
- 6:a3829299dfd5
File content as of revision 6:a3829299dfd5:
#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);
public:
int wheelVelocity[LENGHT];
};
#endif
