teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Committer:
takeru0x1103
Date:
Sat Dec 01 14:03:08 2018 +0000
Revision:
18:5aa48aec9cae
Child:
24:c5945aaae777
??????????PID????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
takeru0x1103 18:5aa48aec9cae 1 #ifndef __HBMOTOR_H__
takeru0x1103 18:5aa48aec9cae 2 #define __HBMOTOR_H__
takeru0x1103 18:5aa48aec9cae 3 /////////////////////////////////////////////////////////////////////
takeru0x1103 18:5aa48aec9cae 4 #include "typedef.h"
takeru0x1103 18:5aa48aec9cae 5
takeru0x1103 18:5aa48aec9cae 6 class HbMotor{
takeru0x1103 18:5aa48aec9cae 7 private:
takeru0x1103 18:5aa48aec9cae 8 UCHAR id ;//識別ID
takeru0x1103 18:5aa48aec9cae 9 INT16 ofs;//オフセットスロットル
takeru0x1103 18:5aa48aec9cae 10 INT16 limitH;//
takeru0x1103 18:5aa48aec9cae 11 INT16 limitL;//
takeru0x1103 18:5aa48aec9cae 12 public:
takeru0x1103 18:5aa48aec9cae 13 HbMotor(UCHAR iID);//コンストラクタ
takeru0x1103 18:5aa48aec9cae 14 void setValue(INT16 iVal);
takeru0x1103 18:5aa48aec9cae 15
takeru0x1103 18:5aa48aec9cae 16 };
takeru0x1103 18:5aa48aec9cae 17
takeru0x1103 18:5aa48aec9cae 18 /////////////////////////////////////////////////////////////////////
takeru0x1103 18:5aa48aec9cae 19 #endif