YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
bme280_drv Class Reference

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 ()
 

Detailed Description

Definition at line 124 of file bme280_drv.h.

Constructor & Destructor Documentation

◆ bme280_drv()

bme280_drv::bme280_drv ( i2c_interface & i2c,
uint8_t _i2c_addr )

Definition at line 10 of file bme280_drv.cpp.

Member Function Documentation

◆ detect_sensor()

bool bme280_drv::detect_sensor ( )

Definition at line 170 of file bme280_drv.cpp.

◆ get_calibration_data()

void bme280_drv::get_calibration_data ( )

Definition at line 147 of file bme280_drv.cpp.

◆ get_humidity()

float bme280_drv::get_humidity ( )

Definition at line 106 of file bme280_drv.cpp.

◆ get_pressure()

float bme280_drv::get_pressure ( )

Definition at line 74 of file bme280_drv.cpp.

◆ get_temperature()

float bme280_drv::get_temperature ( )

Definition at line 18 of file bme280_drv.cpp.

◆ set_sampling()

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.


The documentation for this class was generated from the following files: