Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getPressure
Method
getPressure
libraries/MS5611/MS5611.cpp:195–199 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
193
194
195
float MS5611::getPressure() const
196
{
197
if (_pressureOffset == 0) return _pressure * 0.01;
198
return _pressure * 0.01 + _pressureOffset;
199
};
200
201
// EXPERIMENTAL
202
uint16_t MS5611::getManufacturer()
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36