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: hbCommand.cpp
- Revision:
- 38:24ee50452755
- Parent:
- 36:2cc739c7e4cb
- Child:
- 40:debe99e228d3
--- a/hbCommand.cpp Thu Jan 17 11:26:09 2019 +0000 +++ b/hbCommand.cpp Fri Jan 18 11:52:00 2019 +0000 @@ -112,6 +112,7 @@ else if (strcmp(g_CmdBuf , "mm2" ) == 0 ){gf_Mon.bf.m2=true;} else if (strcmp(g_CmdBuf , "mm3" ) == 0 ){gf_Mon.bf.m3=true;} else if (strcmp(g_CmdBuf , "mm4" ) == 0 ){gf_Mon.bf.m4=true;} + else if (strcmp(g_CmdBuf , "manain" ) == 0 ){gf_Print.bf.ain=true;gf_Mon.bf.ain=true;} else if (strcmp(g_CmdBuf , "kill")==0 ){gf_Mon.flg=0;}//モニタ停止 // 開発、デバッグ用コマンド @@ -237,6 +238,9 @@ else if (strcmp(g_CmdBuf , "spidv")==0 ){g_PidPara.V = atof(&g_CmdBuf[arg2pos]);gf_PidParaUpdate=true;}//PID2の角速度の係数 else if (strcmp(g_CmdBuf , "rana1" )==0 ){gf_DbgPrint.bf.ana1=true;}//アナログ入力リード forモーターアクセル + + else if (strcmp(g_CmdBuf , "manain" ) == 0 ){gf_Print.bf.ain=true;gf_Mon.bf.ain=true;} + else if (strcmp(g_CmdBuf , "kill")==0 ){gf_Mon.flg=0;}//モニタ停止 //何にも引っ掛からない else {sp.printf("command missmatch\r\n"); }; }