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.
HbMotor.h@18:5aa48aec9cae, 2018-12-01 (annotated)
- Committer:
- takeru0x1103
- Date:
- Sat Dec 01 14:03:08 2018 +0000
- Revision:
- 18:5aa48aec9cae
- Child:
- 24:c5945aaae777
??????????PID????????????
Who changed what in which revision?
User | Revision | Line number | New 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 |