MetaWear C++ API  0.20.0
C++ implementation of the MetaWear protocol
humidity_bme280.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "sensor_common.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
17 typedef enum {
18  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_1X= 1,
19  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_2X,
20  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_4X,
21  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_8X,
22  MBL_MW_HUMIDITY_BME280_OVERSAMPLING_16X
24 
42 
43 #ifdef __cplusplus
44 }
45 #endif
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15
#define METAWEAR_API
Indicates the function should be exported to the symbol table
Definition: dllmarker.h:27
METAWEAR_API MblMwDataSignal * mbl_mw_humidity_bme280_get_percentage_data_signal(const MblMwMetaWearBoard *board)
Retrieves the data signal representing humidity data Relative humidity is returned as a percentage.
METAWEAR_API void mbl_mw_humidity_bme280_set_oversampling(const MblMwMetaWearBoard *board, MblMwHumidityBme280Oversampling oversampling)
Sets the oversampling mode For the humidity measurement, oversampling is possible to reduce the noise...
MblMwHumidityBme280Oversampling
Supported oversampling modes on the BME280 humidity sensor.
Definition: humidity_bme280.h:17
struct MblMwMetaWearBoard MblMwMetaWearBoard
Software representation of a physical MetaWear board.
Definition: metawearboard_fwd.h:17