modifications to run via legfile.txt and then exit, manage logfile versions, diagnostics file

Dependencies:   mbed MODSERIAL FATFileSystem

Revision:
21:38c8544db6f4
Parent:
15:2a8cfd3f1cf5
--- a/depth.txt	Wed Nov 22 14:32:06 2017 +0000
+++ b/depth.txt	Wed Nov 22 23:04:11 2017 +0000
@@ -1,4 +1,4 @@
-# configuration file for depth outer loop parameters
+# depth outer loop parameters
 
 #Gains
 PGain=-20.0
@@ -9,5 +9,5 @@
 filterWn=6.0
 deadband=0.5
 
-#Offset for neutral
-zeroOffset=240
\ No newline at end of file
+#Offset for neutral (default: 240)
+zeroOffset=240