simulate satellite program structure

Dependencies:   mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee

Fork of Lab7-01_template by HEPTA-Sat Training 2017~2018

Revision:
26:b246e83efad4
Parent:
25:b9b1257f6e9a
diff -r b9b1257f6e9a -r b246e83efad4 main.cpp
--- a/main.cpp	Wed Aug 21 09:49:18 2019 +0000
+++ b/main.cpp	Thu Aug 22 05:41:12 2019 +0000
@@ -34,7 +34,7 @@
     FILE *dummy = fopen("/sd/MissionData/dum.txt","w");
     fclose(dummy);
     while(1) {
-        //battery.power_saving_mode(&flag,&bt);
+        battery.power_saving_mode(&flag,&bt);
         temp.temp_sense(&temper);
         wait(0.5);
         xbee.printf("flag = %d, bt = %.2f [V], temp = %.1f [C]\r\n",flag,bt,temper);