ニクロム線切断、GPS取得、モーター、障害物回避、フォトインタラプタ、(距離推定)、加速度と地磁気のデータ取得
Dependencies: mbed
Fork of cansat_main by
Diff: main.cpp
- Revision:
- 14:984454b9f2ab
- Parent:
- 13:d2f0aef62909
--- a/main.cpp Thu Nov 08 10:10:19 2018 +0000 +++ b/main.cpp Fri Nov 09 15:05:09 2018 +0000 @@ -43,10 +43,14 @@ /* FET = 0; //FET、ニクロム線切断 - wait(60); + wait(600); FET = 1; - wait(30); - FET = 0; */ + wait(10); + FET = 0; + wait(15); + FET = 1; + wait(10); + FET = 0; */ motor1.stop(0); motor2.stop(0);