cansat_B 2019 / Mbed 2 deprecated CanSatB2019_main_1214_essence_1

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
seijakunouenimutou
Date:
Sat Dec 14 13:23:31 2019 +0000
Parent:
13:63746a793db9
Commit message:
cansat main

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Dec 14 13:15:57 2019 +0000
+++ b/main.cpp	Sat Dec 14 13:23:31 2019 +0000
@@ -42,10 +42,10 @@
     SW=1;
     flight==1;//flight pin ついてる
     FET=1;//FET off   
-    printf("CanSat-B_Start!\r\n");
+    printf("you worry about me don't you?\r\n");
 
      //FET
-     /*while(1){
+     while(1){
      if(flight==1) {
         wait(10);
         printf("mada\r\n");
@@ -67,7 +67,7 @@
     break;
             }
     }   
-    }*/
+    }
     
     
       //以下GPS
@@ -79,7 +79,7 @@
      int j = 0;
      
      pc.printf("GPS Start\n");
-     xbee.printf("s\n");//printf("1");
+     xbee.printf("start\n");//printf("1");
      time_gps.start();
      while(a==0)
         {