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: main.cpp
- Revision:
- 26:a53c3208ac35
- Parent:
- 21:b1419813f2d4
- Child:
- 27:5b897e2e0ac6
--- a/main.cpp Sat Jul 23 00:09:05 2016 +0000 +++ b/main.cpp Sat Jul 23 00:50:47 2016 +0000 @@ -44,7 +44,7 @@ void pc_rx(){ while(pc.readable()==1){ - //コマンドモードのon,offはここに入れる + //コマンドモードのon,offはここに入れるといい char buf = (char)pc.getc(); Global::initqueue.put((char*)buf); } @@ -64,13 +64,14 @@ controllerManager.update(); servoManager.update(); selector.update(); - wdt = !wdt; + wdt = !wdt;//ウォッチドッグタイマのkickに相当 Thread::wait(50); } } void sensorTask500(void const *pvParameters){ while(1){ + //batteryCheckerとatmpressを入れ替えると10minくらいで停止する。わけわからん airspeed.update(); cadence.update(); ultsonic.update();