teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
23:79e20be4bc5b
Parent:
17:f9610f3cfa1b
Child:
35:3779201b4c73
diff -r 24c9c2dedca9 -r 79e20be4bc5b HbEngine.cpp
--- a/HbEngine.cpp	Thu Dec 06 11:03:13 2018 +0000
+++ b/HbEngine.cpp	Sat Dec 08 12:08:25 2018 +0000
@@ -18,4 +18,12 @@
 //アクセル設定
 void HbEngine::setAccell(UINT16 iVal){
     fpgaEngine(id,iVal);
-}
\ No newline at end of file
+}
+
+bool HbEngine::chkOverIDLECycle(){
+    return rpm > IDLE_HI;
+}
+
+bool HbEngine::chkInRangeIDLE(){
+    return rpm > IDLE_LOW && rpm < IDLE_HI;
+}