Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MODSERIAL FATFileSystem
ConfigFileIO/ConfigFileIO.hpp
- Committer:
- tnhnrl
- Date:
- 2017-12-21
- Revision:
- 38:83d06c294807
- Parent:
- 21:38c8544db6f4
- Child:
- 43:891baf306e0a
File content as of revision 38:83d06c294807:
#include "mbed.h" #include "ConfigFile.h" #ifndef CONFIGFILEIO_HPP #define CONFIGFILEIO_HPP class ConfigFileIO { public: ConfigFileIO(); void saveBattData(float p_gain, float i_gain, float d_gain); void savePitchData(float p_gain, float i_gain, float d_gain, int batt_zeroOffset); void saveBCEData(float p_gain, float i_gain, float d_gain); 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