These module docs are in beta and may be incomplete.
modm:driver:tmp102: TMP102 Thermometer¶
The TMP102 is a digital temperature sensor with an I2C interface and measures temperature over a range of -40 to +125 deg Celsius with a resolution of 1/16 (0.0625) deg C and an accuracy of up to 0.5 deg C.
The sensor has a default refresh rate of 4Hz but can be set from
0.25Hz up to 33Hz using
The sensor will then read itself when calling the
However, you may manually start a conversion with
for 30ms and then
readTemperature() to achieve other (less frequent)
// Struct struct modm::tmp102::Data; struct modm::tmp102;