update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
Diff: ConfigFileIO/ConfigFileIO.hpp
- Revision:
- 21:38c8544db6f4
- Parent:
- 17:7c16b5671d0e
- Child:
- 38:83d06c294807
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ConfigFileIO/ConfigFileIO.hpp Wed Nov 22 23:04:11 2017 +0000 @@ -0,0 +1,25 @@ +#include "mbed.h" +#include "ConfigFile.h" + +#ifndef CONFIGFILEIO_HPP +#define CONFIGFILEIO_HPP + +class ConfigFileIO { +public: + ConfigFileIO(); + + void savePitchData(float p_gain, float i_gain, float d_gain, int batt_zeroOffset); + void saveDepthData(float p_gain, float i_gain, float d_gain, int bce_zeroOffset); + + //ConfigFunctions + int load_BCE_config(); + int load_BATT_config(); + int load_DEPTH_config(); + int load_PITCH_config(); + int load_script(); + +private: + float _neutral_batt_pos_mm; + float _neutral_bce_pos_mm; +}; +#endif