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:
63:6cb0405fc6e6
Parent:
61:f7437daae608
Child:
65:2ac186553959
--- a/main.cpp	Mon Jun 18 14:45:37 2018 +0000
+++ b/main.cpp	Mon Jun 18 21:02:55 2018 +0000
@@ -34,7 +34,9 @@
         - added timing code for interrupt that drives the rudder (testing with o-scope)
         - PID controller replaced with newer version from 5/29 code branch
         - StateMachine hanged style of variables to match convention in code
-        
+    
+    Modified FSG PCB V_1_4
+        - adcLed = 0; in adc
 */
  
 #include "mbed.h"
@@ -183,7 +185,7 @@
         // log loop runs at 1 hz
         if (log_loop) {
             //when the state machine is not in SIT_IDLE state (or a random keyboard press)
-            if (current_state == TRANSMIT_LOG or current_state == RECEIVE_SEQUENCE) {
+            if (current_state == TRANSMIT_MBED_LOG or current_state == RECEIVE_SEQUENCE) {
                 //main_loop_rate_ticker.detach();
                 //log_loop_rate_ticker.detach();