35 #include "interfaces/iPressureSensor.hpp" 36 #include "interfaces/iTemperatureSensor.hpp" 80 BMPX8X(
int bus=BMPX8X_DEFAULT_I2C_BUS,
81 int addr=BMPX8X_DEFAULT_I2C_ADDR);
117 void init(BMPX8X_OSS_T oss=BMPX8X_OSS_ULTRAHIGHRES);
233 int readRegs(uint8_t reg, uint8_t *buffer,
int len);
242 void writeReg(uint8_t reg, uint8_t val);
int getTemperatureCelsius()
Definition: bmpx8x.hpp:185
const char * getModuleName()
Definition: bmpx8x.hpp:208
void init(BMPX8X_OSS_T oss=BMPX8X_OSS_ULTRAHIGHRES)
Definition: bmpx8x.cxx:54
void reset()
Definition: bmpx8x.cxx:68
virtual ~BMPX8X()
Definition: bmpx8x.cxx:49
void writeReg(uint8_t reg, uint8_t val)
Definition: bmpx8x.cxx:95
Interface for Temperature Sensors.
Definition: iTemperatureSensor.hpp:34
uint8_t readReg(uint8_t reg)
Definition: bmpx8x.cxx:80
BMPX8X(int bus=BMPX8X_DEFAULT_I2C_BUS, int addr=BMPX8X_DEFAULT_I2C_ADDR)
Definition: bmpx8x.cxx:41
int readRegs(uint8_t reg, uint8_t *buffer, int len)
Definition: bmpx8x.cxx:85
void setOversampling(BMPX8X_OSS_T oss=BMPX8X_OSS_ULTRAHIGHRES)
Definition: bmpx8x.cxx:75
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
float getTemperature()
Definition: bmpx8x.cxx:107
int getPressurePa()
Definition: bmpx8x.hpp:197
int getSealevelPressure()
Definition: bmpx8x.hpp:162
API for the GY65/BMP085 and BMP180 Atmospheric Pressure Sensors.
Definition: bmpx8x.hpp:71
int getPressure()
Definition: bmpx8x.cxx:102
float getAltitude(int sealevelPressure=101325)
Definition: bmpx8x.cxx:117
Definition: iPressureSensor.hpp:36
void update()
Definition: bmpx8x.cxx:61
C API for the bmpx8x driver.