teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Committer:
takeru0x1103
Date:
Fri Nov 30 05:24:27 2018 +0000
Revision:
17:f9610f3cfa1b
Child:
23:79e20be4bc5b
1130

Who changed what in which revision?

UserRevisionLine numberNew contents of line
takeru0x1103 17:f9610f3cfa1b 1 #ifndef __HBENGINE_H__
takeru0x1103 17:f9610f3cfa1b 2 #define __HBENGINE_H__
takeru0x1103 17:f9610f3cfa1b 3
takeru0x1103 17:f9610f3cfa1b 4 #include "typedef.h"
takeru0x1103 17:f9610f3cfa1b 5
takeru0x1103 17:f9610f3cfa1b 6 class HbEngine{
takeru0x1103 17:f9610f3cfa1b 7 private:
takeru0x1103 17:f9610f3cfa1b 8 /*
takeru0x1103 17:f9610f3cfa1b 9 * Varialbles
takeru0x1103 17:f9610f3cfa1b 10 */
takeru0x1103 17:f9610f3cfa1b 11 UCHAR id;
takeru0x1103 17:f9610f3cfa1b 12 INT16 accel;//エンジンアクセル12bit
takeru0x1103 17:f9610f3cfa1b 13 INT16 rpm;//エンジン 回転数
takeru0x1103 17:f9610f3cfa1b 14
takeru0x1103 17:f9610f3cfa1b 15 /*
takeru0x1103 17:f9610f3cfa1b 16 * functions
takeru0x1103 17:f9610f3cfa1b 17 */
takeru0x1103 17:f9610f3cfa1b 18 public:
takeru0x1103 17:f9610f3cfa1b 19 HbEngine(UCHAR iID);
takeru0x1103 17:f9610f3cfa1b 20 UINT16 getRpm();
takeru0x1103 17:f9610f3cfa1b 21 void setAccell(UINT16 iVal);
takeru0x1103 17:f9610f3cfa1b 22 };
takeru0x1103 17:f9610f3cfa1b 23
takeru0x1103 17:f9610f3cfa1b 24 #endif
takeru0x1103 17:f9610f3cfa1b 25
takeru0x1103 17:f9610f3cfa1b 26