most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown

Dependencies:   mbed MODSERIAL FATFileSystem

Revision:
86:ba3a118b0080
Parent:
82:0981b9ada820
Child:
87:6d95f853dab3
--- a/ConfigFileIO/ConfigFileIO.cpp	Mon Feb 25 21:26:34 2019 +0000
+++ b/ConfigFileIO/ConfigFileIO.cpp	Thu May 02 20:34:16 2019 +0000
@@ -53,6 +53,20 @@
         xbee().printf("\n\rFile batt.txt successful written.\n\r");
     }  
 }
+int ConfigFileIO::load_StartTime() {
+   ConfigFile cfg;
+   int count = 0;
+   if (!cfg.read("/local/time.txt")) {
+            error("File Read Error");
+    }
+    char value[BUFSIZ];  
+    if (cfg.getValue("TimeStamp", &value[0] , sizeof(value))) {
+        // bce().setControllerP(atoi(value));
+        mbedLogger().setLogTime(atol(value)); 
+        count++;
+    }  
+    return count;
+}
 void ConfigFileIO::saveLogVersData(int logversion,  int diagversion) {       
     ConfigFile write_logvers_txt;   //write to the config file