25 #include "upm/iPressureSensor.hpp"
26 #include "upm/iTemperatureSensor.hpp"
27 #include "mraa/i2c.hpp"
32 #define MS5611_ADDRESS 0x76
65 ULTRA_LOW_POWER, LOW_POWER, STANDARD, ULTRA_HIGH_RES, HIGH_RES
68 MS5611(
int i2cBus = 0,
int address = MS5611_ADDRESS);
71 void setOverSampling(OsrMode osrMode);
72 int getTemperatureCelsius();
77 uint32_t readADC(
int adcReg);
78 void delayms(
int millisecs);
79 uint32_t readRawPressure();
80 uint32_t readRawTemperature();
Interface for Temperature Sensors.
Definition: iTemperatureSensor.hpp:34
Definition: ms5611.hpp:60
const char * getModuleName()
Definition: ms5611.hpp:70
Interface for Pressue Sensors.
Definition: iPressureSensor.hpp:38