67#if EEPROM_WRITES_LOGGED
71 cout <<
"EEPROM(" <<
id <<
")=" << old_value <<
"->" << value <<
endl;
86 int identifier =
atoi (
s);
138 if(
param->is_an_angle)
139 value *= (
M_PI / 180.0);
175 value *= 180.0 /
M_PI;
float configuration(EEPROM_PARAMETER_ID id)
int read_EEPROM_file(char *basename)
bool write_EEPROM_value(EEPROM_PARAMETER_ID id, float value)
bool write_EEPROM_dump(char *basename)
bool read_EEPROM_value(EEPROM_PARAMETER_ID id, float &value)
int read_identifier(const char *s)
bool EEPROM_initialize(void)
const persistent_data_t * find_parameter_from_ID(EEPROM_PARAMETER_ID id)
config_param_type config_parameters[EEPROM_PARAMETER_ID_END]
Replacement on the PC for the nonvolatile memory of the micro-controller.
char * my_ftoa(char *target, float value)
Simple and fast ASCII converters.
char * format_2_digits(char *target, uint32_t data)
char * append_string(char *target, const char *source)
basically: kind of strcat returning the pointer to the string-end
mathematical vector of arbitrary type and size
ROM persistent_data_t PERSISTENT_DATA[]
ROM unsigned PERSISTENT_DATA_ENTRIES
this structure describes one persistent parameter
collection of system tuning parameters