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: HbUserOpe.h
- Revision:
- 26:732bc37fbefd
- Parent:
- 23:79e20be4bc5b
- Child:
- 30:13ada1a24c59
--- a/HbUserOpe.h Wed Dec 12 23:52:22 2018 +0000
+++ b/HbUserOpe.h Thu Dec 13 12:15:35 2018 +0000
@@ -17,13 +17,22 @@
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,
+ };
HbUserOpe();//コンストラクタ
~HbUserOpe();//デストラクタ
typUserSw GetUserOpe();//ボタンの現在状態取得(更新)
bool ChkCtrlSW(SW_TYPE styp);
+ bool ChkCtrlSW(SW_TYPE2 styp);
bool ChkCtrlSwAny();
+ bool ChkCtrlSwRiseEdge(SW_TYPE2 styp);
};
/////////////////////////////////////////////////////////////////////