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:
- 33:eb260dbfc22a
- Parent:
- 31:56c554c560c1
- Child:
- 34:234b87f3e6ce
--- a/HbUserOpe.h Thu Dec 20 11:38:09 2018 +0000
+++ b/HbUserOpe.h Fri Dec 21 12:31:17 2018 +0000
@@ -2,6 +2,7 @@
#define __HBUSER_OPE_H__
/////////////////////////////////////////////////////////////////////
#include "typedef.h"
+#include "globalFlags.h"
//#include "HbManager.h"
@@ -9,6 +10,7 @@
private:
typUserSw oldOpe;
typUserSw curOpe;
+ float AinAxlVal;
public:
// enum SW_TYPE{
// ACCEL_R = 0,
@@ -34,6 +36,7 @@
~HbUserOpe();//デストラクタ
typUserSw GetUserOpe();//ボタンの現在状態取得(更新)
+ INT16 GetAinAccel();//前進用モーター(後部)アクセル用アナログ入力値取得(更新)
//bool ChkCtrlSW(SW_TYPE styp);
bool ChkCtrlSW(SW_TYPE styp);
bool ChkCtrlSwAny();