|
YAHAL
Yet Another Hardware Abstraction Library
|
Public Member Functions | |
| bme280_drv (i2c_interface &i2c, uint8_t _i2c_addr) | |
| float | get_temperature () |
| float | get_pressure () |
| float | get_humidity () |
| void | set_sampling (BME280::MODE m, BME280::FILTER f, BME280::STANDBY_TIME t, BME280::SAMPLING s_temp, BME280::SAMPLING s_press, BME280::SAMPLING s_hum) |
| void | get_calibration_data () |
| bool | detect_sensor () |
Definition at line 124 of file bme280_drv.h.
| bme280_drv::bme280_drv | ( | i2c_interface & | i2c, |
| uint8_t | _i2c_addr ) |
Definition at line 10 of file bme280_drv.cpp.
| bool bme280_drv::detect_sensor | ( | ) |
Definition at line 170 of file bme280_drv.cpp.
| void bme280_drv::get_calibration_data | ( | ) |
Definition at line 147 of file bme280_drv.cpp.
| float bme280_drv::get_humidity | ( | ) |
Definition at line 106 of file bme280_drv.cpp.
| float bme280_drv::get_pressure | ( | ) |
Definition at line 74 of file bme280_drv.cpp.
| float bme280_drv::get_temperature | ( | ) |
Definition at line 18 of file bme280_drv.cpp.
| void bme280_drv::set_sampling | ( | BME280::MODE | m, |
| BME280::FILTER | f, | ||
| BME280::STANDBY_TIME | t, | ||
| BME280::SAMPLING | s_temp, | ||
| BME280::SAMPLING | s_press, | ||
| BME280::SAMPLING | s_hum ) |
Definition at line 132 of file bme280_drv.cpp.