31 #include "interfaces/iPressureSensor.hpp" 32 #include "interfaces/iTemperatureSensor.hpp" 93 BMP280(
int bus=BMP280_DEFAULT_I2C_BUS,
int addr=BMP280_DEFAULT_ADDR,
226 int getTemperatureCelsius()
261 int readRegs(uint8_t reg, uint8_t *buffer,
int len);
270 void writeReg(uint8_t reg, uint8_t val);
void writeReg(uint8_t reg, uint8_t val)
Definition: bmp280.cxx:85
int readRegs(uint8_t reg, uint8_t *buffer, int len)
Definition: bmp280.cxx:80
float getPressure()
Definition: bmp280.cxx:113
uint8_t getStatus()
Definition: bmp280.cxx:143
uint8_t readReg(uint8_t reg)
Definition: bmp280.cxx:75
C API for the bmp280 and bme280 driver.
BMP280(int bus=BMP280_DEFAULT_I2C_BUS, int addr=BMP280_DEFAULT_ADDR, int cs=-1)
Definition: bmp280.cxx:45
Interface for Temperature Sensors.
Definition: iTemperatureSensor.hpp:34
void reset()
Definition: bmp280.cxx:97
void setTimerStandby(BMP280_T_SB_T tsb)
Definition: bmp280.cxx:123
void setOversampleRatePressure(BMP280_OSRS_P_T rate)
Definition: bmp280.cxx:133
virtual void update()
Definition: bmp280.cxx:58
virtual ~BMP280()
Definition: bmp280.cxx:53
void setOversampleRateTemperature(BMP280_OSRS_T_T rate)
Definition: bmp280.cxx:138
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
void setMeasureMode(BMP280_MODES_T mode)
Definition: bmp280.cxx:128
const char * getModuleName()
Definition: bmp280.hpp:221
void setFilter(BMP280_FILTER_T filter)
Definition: bmp280.cxx:118
virtual void setUsageMode(BMP280_USAGE_MODE_T mode)
Definition: bmp280.cxx:148
float getAltitude()
Definition: bmp280.cxx:70
void setSeaLevelPreassure(float seaLevelhPA=1013.25)
Definition: bmp280.cxx:65
float getTemperature(bool fahrenheit=false)
Definition: bmp280.cxx:103
API for the BMP280 Digital Pressure Sensor.
Definition: bmp280.hpp:70
uint8_t getChipID()
Definition: bmp280.cxx:92
Definition: iPressureSensor.hpp:36