Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
188
float MS5611::getTemperature() const
189
{
190
if (_temperatureOffset == 0) return _temperature * 0.01;
191
return _temperature * 0.01 + _temperatureOffset;
192
};
193
194
195
float MS5611::getPressure() const
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36