BME280 |
( |
int |
bus, |
|
|
int |
devAddr = BME280_I2C_ADDRESS1 |
|
) |
| |
Instanciates a BME280 object
- Parameters
-
bus | number of used bus |
devAddr | address of used i2c device |
mode | BME280 mode |
BME280 object destructor, basicaly it close i2c connection.
uint16_t getTemperatureRaw |
( |
| ) |
|
Get temperature measurement.
int getTemperatureCelcius |
( |
| ) |
|
|
virtual |
uint16_t getHumidityRaw |
( |
| ) |
|
Get relative humidity measurement.
int getHumidityRelative |
( |
| ) |
|
|
virtual |
const char* getModuleName |
( |
| ) |
|
|
inlinevirtual |
uint32_t getPressureRaw |
( |
| ) |
|
int32_t getTemperatureInternal |
( |
void |
| ) |
|
int32_t getPressureInternal |
( |
void |
| ) |
|
int32_t getHumidityInternal |
( |
void |
| ) |
|
int32_t getTemperatureRawInternal |
( |
void |
| ) |
|
int32_t getPressureRawInternal |
( |
void |
| ) |
|
int32_t getHumidityRawInternal |
( |
void |
| ) |
|
Returns whether the correct chip is present at the given address.
The documentation for this class was generated from the following files:
- /iotdk/jenkins/workspace/upm-doc-stable/src/bme280/bme280.h
- /iotdk/jenkins/workspace/upm-doc-stable/src/bme280/bme280.cxx