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:
- 36:2cc739c7e4cb
- Parent:
- 35:3779201b4c73
- Child:
- 38:24ee50452755
diff -r 3779201b4c73 -r 2cc739c7e4cb HbEngine.h --- a/HbEngine.h Tue Dec 25 08:20:17 2018 +0000 +++ b/HbEngine.h Wed Jan 16 10:51:07 2019 +0000 @@ -11,7 +11,9 @@ UCHAR id; INT16 accel;//エンジンアクセル12bit INT16 rpm;//エンジン 回転数 - + INT16 hvAxl;//エンジンアクセル 浮上用 + bool bSetHvAxl; + // 仮の定数 static const int IDLE_LOW = 1500; static const int IDLE_HI = 3000; @@ -25,6 +27,10 @@ UINT16 getRpm(); void setAccel(UINT16 iVal); + void setHoverAccel(INT16 val); + void clearHoverAccel(); + bool chkSetHoverAccel(); + bool chkOverIDLECycle(); bool chkInRangeIDLE(); };