MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
Enumerations | Functions
humidity_bme280.h File Reference

Communicates with the BME280 humidity sensor, only available on MetaEnvironment boards. More...

#include "sensor_common.h"

Go to the source code of this file.

Enumerations

enum  MblMwHumidityBme280Oversampling {
  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_1X = 1, MBL_MW_HUMIDITY_BME280_OVERSAMPLING_2X, MBL_MW_HUMIDITY_BME280_OVERSAMPLING_4X, MBL_MW_HUMIDITY_BME280_OVERSAMPLING_8X,
  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_16X
}
 Supported oversampling modes on the BME280 humidity sensor.
 

Functions

METAWEAR_API MblMwDataSignalmbl_mw_humidity_bme280_get_percentage_data_signal (const MblMwMetaWearBoard *board)
 Retrieves the data signal representing humidity data. More...
 
METAWEAR_API void mbl_mw_humidity_bme280_set_oversampling (const MblMwMetaWearBoard *board, MblMwHumidityBme280Oversampling oversampling)
 Sets the oversampling mode. More...
 

Detailed Description

Communicates with the BME280 humidity sensor, only available on MetaEnvironment boards.

Function Documentation

◆ mbl_mw_humidity_bme280_get_percentage_data_signal()

METAWEAR_API MblMwDataSignal* mbl_mw_humidity_bme280_get_percentage_data_signal ( const MblMwMetaWearBoard board)

Retrieves the data signal representing humidity data.

Parameters
boardBoard the humidity sensor resides on
Returns
Pointer to the data signal

◆ mbl_mw_humidity_bme280_set_oversampling()

METAWEAR_API void mbl_mw_humidity_bme280_set_oversampling ( const MblMwMetaWearBoard board,
MblMwHumidityBme280Oversampling  oversampling 
)

Sets the oversampling mode.

Parameters
boardBoard the humidity sensor resides on
oversamplingNew oversampling mode