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: globalFlags.cpp
- Revision:
- 33:eb260dbfc22a
- Parent:
- 32:7f4145cc3551
- Child:
- 35:3779201b4c73
--- a/globalFlags.cpp Thu Dec 20 11:38:09 2018 +0000 +++ b/globalFlags.cpp Fri Dec 21 12:31:17 2018 +0000 @@ -8,6 +8,8 @@ DigitalOut led3(LED3); DigitalOut led4(LED4); +//モーターアクセル用アナログ入力 +AnalogIn AinAxl(p20); //GlobalFlags gf; char g_CmdBuf[G_CMD_BUF_SIZ] ;// コマンド受け渡しバッファ @@ -15,7 +17,7 @@ bool gf_Armed ;//アーミングフラグ bool gf_Dbg ;//デバッグタスク起動フラグ -bool gf_fs_stat ;//強制遷移フラグ +bool gf_fs_stat ;//強制遷移フラグ bool gf_StopMot ;//モーターの強制停止 typPrintFlag gf_Print ;// @@ -129,7 +131,7 @@ //ステートキュー初期化 for(int i=0; i<STATE_QUE_SIZ; i++){ stateQueue[i] = NONE; - } + } rp = wp = 0;//先頭を指す full = false;//最初はエンプティ empty = true; @@ -168,4 +170,4 @@ } */ - + \ No newline at end of file