MCPcopy 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
195float MS5611::getPressure() const
196{
197 if (_pressureOffset == 0) return _pressure * 0.01;
198 return _pressure * 0.01 + _pressureOffset;
199};
200
201// EXPERIMENTAL
202uint16_t MS5611::getManufacturer()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36