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.
Diff: HbEngine.h
- Revision:
- 17:f9610f3cfa1b
- Child:
- 23:79e20be4bc5b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HbEngine.h Fri Nov 30 05:24:27 2018 +0000 @@ -0,0 +1,26 @@ +#ifndef __HBENGINE_H__ +#define __HBENGINE_H__ + +#include "typedef.h" + +class HbEngine{ +private: + /* + * Varialbles + */ + UCHAR id; + INT16 accel;//エンジンアクセル12bit + INT16 rpm;//エンジン 回転数 + + /* + * functions + */ +public: + HbEngine(UCHAR iID); + UINT16 getRpm(); + void setAccell(UINT16 iVal); +}; + +#endif + +