ニクロム線切断、GPS取得、モーター、障害物回避、フォトインタラプタ、(距離推定)、加速度と地磁気のデータ取得

Dependencies:   mbed

Fork of cansat_main by cansat-d_2018

Files at this revision

API Documentation at this revision

Comitter:
sayan2
Date:
Fri Nov 09 15:05:09 2018 +0000
Parent:
13:d2f0aef62909
Commit message:
11/10 0:04 FET??????????

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d2f0aef62909 -r 984454b9f2ab main.cpp
--- 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);