Flying Sea Glider / Mbed 2 deprecated 2019_19feb19_jcw_noSD

Dependencies:   mbed MODSERIAL FATFileSystem

Revision:
17:7c16b5671d0e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Config_File_IO/ConfigFileIO.hpp	Tue Nov 21 22:03:26 2017 +0000
@@ -0,0 +1,37 @@
+#include "mbed.h"
+#include "ConfigFile.h"
+
+#ifndef CONFIGFILEIO_HPP
+#define CONFIGFILEIO_HPP
+
+class ConfigFileIO {
+public:
+    ConfigFileIO();
+    
+    void saveNeutralPositions(float float_nbp_value, float float_nb_battpos_value);
+    void loadNeutralPositions();
+    
+    float getBattPos();
+    float getBCEPos();
+    
+    //void load();
+//    void load_neutral_config();
+//    void load_dive_cycle_config();
+//    void load_initial_config_position();
+//    void load_auto_PID_gains_from_config_file();
+//    void load_manual_position_PID_gains_from_config_file();
+//    void load_timers_from_config_file();
+//
+//    void write_to_config_neutral_buoyancy_position_mm(float float_nbp_value, float float_nb_battpos_value);
+//    void write_neutral_dive_depth_in_ft_to_config(float write_neutral_depth_ft);
+//    void write_dive_cycle_config(float depth_feet, float pitch_deg, float buoyancy, float dive_time);
+//    void write_manual_position_PID_values_to_config(float battP, float battI, float battD, float beP, float beI, float beD);
+//    void write_auto_PID_values_to_config(float battP, float battI, float battD, float beP, float beI, float beD);
+//    void write_timers_to_config_file(float force, float neutral, float dive);
+//    void read_config_file();
+
+private: 
+    float _neutral_batt_pos_mm;
+    float _neutral_bce_pos_mm;
+};
+#endif