MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / getTemperature

Method getTemperature

libraries/MS5611/MS5611.cpp:188–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188float MS5611::getTemperature() const
189{
190 if (_temperatureOffset == 0) return _temperature * 0.01;
191 return _temperature * 0.01 + _temperatureOffset;
192};
193
194
195float MS5611::getPressure() const

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36