cansat_B 2019 / Mbed 2 deprecated CanSatB2019_main_1214_essence_8_6

Dependencies:   mbed

Revision:
14:228a35fcb323
Parent:
13:63746a793db9
Child:
15:1deffcfa5b1a
diff -r 63746a793db9 -r 228a35fcb323 main.cpp
--- 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)
         {