Flying Sea Glider / Mbed 2 deprecated 2019_19feb19_jcw_noSD

Dependencies:   mbed MODSERIAL FATFileSystem

Committer:
tnhnrl
Date:
Thu Dec 21 17:05:35 2017 +0000
Revision:
38:83d06c294807
Parent:
21:38c8544db6f4
Child:
43:891baf306e0a
system time and BCE and Battery logger fixes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tnhnrl 17:7c16b5671d0e 1 #include "mbed.h"
tnhnrl 17:7c16b5671d0e 2 #include "ConfigFile.h"
tnhnrl 17:7c16b5671d0e 3
tnhnrl 17:7c16b5671d0e 4 #ifndef CONFIGFILEIO_HPP
tnhnrl 17:7c16b5671d0e 5 #define CONFIGFILEIO_HPP
tnhnrl 17:7c16b5671d0e 6
tnhnrl 17:7c16b5671d0e 7 class ConfigFileIO {
tnhnrl 17:7c16b5671d0e 8 public:
tnhnrl 17:7c16b5671d0e 9 ConfigFileIO();
tnhnrl 17:7c16b5671d0e 10
tnhnrl 38:83d06c294807 11 void saveBattData(float p_gain, float i_gain, float d_gain);
tnhnrl 21:38c8544db6f4 12 void savePitchData(float p_gain, float i_gain, float d_gain, int batt_zeroOffset);
tnhnrl 38:83d06c294807 13
tnhnrl 38:83d06c294807 14 void saveBCEData(float p_gain, float i_gain, float d_gain);
tnhnrl 21:38c8544db6f4 15 void saveDepthData(float p_gain, float i_gain, float d_gain, int bce_zeroOffset);
tnhnrl 17:7c16b5671d0e 16
tnhnrl 21:38c8544db6f4 17 //ConfigFunctions
tnhnrl 21:38c8544db6f4 18 int load_BCE_config();
tnhnrl 21:38c8544db6f4 19 int load_BATT_config();
tnhnrl 21:38c8544db6f4 20 int load_DEPTH_config();
tnhnrl 21:38c8544db6f4 21 int load_PITCH_config();
tnhnrl 21:38c8544db6f4 22 int load_script();
tnhnrl 17:7c16b5671d0e 23
tnhnrl 17:7c16b5671d0e 24 private:
tnhnrl 17:7c16b5671d0e 25 float _neutral_batt_pos_mm;
tnhnrl 17:7c16b5671d0e 26 float _neutral_bce_pos_mm;
tnhnrl 17:7c16b5671d0e 27 };
tnhnrl 17:7c16b5671d0e 28 #endif