30 #ifndef METEO_STICK_CALIB_H
31 #define METEO_STICK_CALIB_H
38 #define MTOSTK_MAX_SEEK_ARRAY_SIZE 20
39 #define MTOSTK_MAX_POLY_ARRAY_SIZE 6
40 #define MTOSTK_MAX_TEMP_ARRAY_SIZE 6
#define MTOSTK_MAX_POLY_ARRAY_SIZE
#define MTOSTK_MAX_TEMP_ARRAY_SIZE
uint32_t mtostk_time_t
time in seconds since 01/01/1970
bool mtostk_populate_cal_from_buffer(Calibration_params *cp, uint8_t *eeprom_buffer)
Initializes a Calibration_params structure from memory buffer.
float mtostk_get_calibrated_value(Calibration_params *cp, Mtostk_sensors type, float uncal, float temp)
get calibrated value for a sensor according to current temperature
Calibration_params structure initialized with calibvration data read from meteostick eeprom.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.