teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
30:13ada1a24c59
Parent:
26:732bc37fbefd
Child:
31:56c554c560c1
--- a/HbUserOpe.h	Mon Dec 17 13:25:00 2018 +0000
+++ b/HbUserOpe.h	Tue Dec 18 11:57:37 2018 +0000
@@ -10,29 +10,34 @@
     typUserSw oldOpe;
     typUserSw curOpe;
 public:
+    // enum SW_TYPE{
+    //     ACCEL_R = 0,
+    //     ACCEL_L,
+    //     STOP,
+    //     YAW_CTRL,
+    //     ENG_STOP,
+    // };
     enum SW_TYPE{
-        ACCEL_R = 0,
-        ACCEL_L,
-        STOP,
-        YAW_CTRL,
-        ENG_STOP,
-    };
-    enum SW_TYPE2{  // For Debug
-        F_L = 0,// Front Left
-        F_R,    // Front Right
-        R_L,    // Rear Left
-        R_R,    // Rear Right
-        EMG_STOP,
+        BRK_L = 0,// 
+        BRK_R,    // Front Right
+        R_1,    // Rear Left
+        R_2,    // Rear Right
+        MOT_STOP,
+        R_3,
+        R_4,
+        R_5,
+        R_6,
+        ALL_STOP,
     };
 
     HbUserOpe();//コンストラクタ    
     ~HbUserOpe();//デストラクタ
 
     typUserSw GetUserOpe();//ボタンの現在状態取得(更新)
+    //bool ChkCtrlSW(SW_TYPE styp);
     bool ChkCtrlSW(SW_TYPE styp);
-    bool ChkCtrlSW(SW_TYPE2 styp);
     bool ChkCtrlSwAny();
-    bool ChkCtrlSwRiseEdge(SW_TYPE2 styp);
+    bool ChkCtrlSwRiseEdge(SW_TYPE styp);
 };
 
 /////////////////////////////////////////////////////////////////////