teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
36:2cc739c7e4cb
Parent:
35:3779201b4c73
Child:
38:24ee50452755
--- 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();
 };