Context
Part of the temperature calibration harmonization (#103).
The ISM330DL has an embedded temperature sensor. Like the LIS2MDL, the raw reading has no guaranteed absolute zero point. A two-point software calibration mechanism is needed, consistent with the harmonized interface defined in #103.
Blocked by #50 (ISM330DL driver not yet merged).
TODO
Related
Context
Part of the temperature calibration harmonization (#103).
The ISM330DL has an embedded temperature sensor. Like the LIS2MDL, the raw reading has no guaranteed absolute zero point. A two-point software calibration mechanism is needed, consistent with the harmonized interface defined in #103.
Blocked by #50 (ISM330DL driver not yet merged).
TODO
self._temp_gain = 1.0andself._temp_offset = 25.0in__init__(empirical default)set_temp_offset(self, offset_c)method (simple offset, gain=1.0)calibrate_temperature(self, ref_low, measured_low, ref_high, measured_high)methodreturn self._temp_gain * raw_value + self._temp_offsetRelated