BME280 Driver 2.0.x
Driver for BME280 sensor
|
read last measured data from sensor in normal mode More...
Functions | |
int8_t | BME280_ReadAllLast_F (BME280_t *Dev, BME280_DataF_t *Data) |
Function reads all measured data at once. | |
int8_t | BME280_ReadTempLast_F (BME280_t *Dev, float *Temp) |
Function reads last measured temperature. | |
int8_t | BME280_ReadPressLast_F (BME280_t *Dev, float *Press) |
Function reads last measured pressure. | |
int8_t | BME280_ReadHumLast_F (BME280_t *Dev, float *Hum) |
Function reads last measured humidity. | |
read last measured data from sensor in normal mode
int8_t BME280_ReadAllLast_F | ( | BME280_t * | Dev, |
BME280_DataF_t * | Data | ||
) |
Function reads all measured data at once.
Function reads all adc values from sensor, converts them into single variables and compensate with use BME280_calibration_data. Compensated values are then converted into BME280_DataF_t structure.
[in] | *Dev | pointer to sensor's BME280_t structure |
[out] | *Data | pointer to structure where result will be stored |
int8_t BME280_ReadHumLast_F | ( | BME280_t * | Dev, |
float * | Hum | ||
) |
Function reads last measured humidity.
Function reads temperature and humidity related adc values from sensor, converts them into single variables and compensate with use BME280_calibration_data. Compensated value is then converted into floating point value and stored in external variable
[in] | *Dev | pointer to sensor's BME280_t structure |
[out] | *Hum | pointer to variable where temperature will be stored |
int8_t BME280_ReadPressLast_F | ( | BME280_t * | Dev, |
float * | Press | ||
) |
Function reads last measured pressure.
Function reads temperature and pressure related adc values from sensor, converts them into single variables and compensate with use BME280_calibration_data. Compensated value is then converted into floating point value and stored in external variable
[in] | *Dev | pointer to sensor's BME280_t structure |
[out] | *Press | pointer to variable where temperature will be stored |
int8_t BME280_ReadTempLast_F | ( | BME280_t * | Dev, |
float * | Temp | ||
) |
Function reads last measured temperature.
Function reads temperature related adc values from sensor, converts them into single variable and compensate with use BME280_calibration_data. Compensated value is then converted into floating point value and stored in external variable
[in] | *Dev | pointer to sensor's BME280_t structure |
[out] | *Temp | pointer to variable where temperature will be stored |