MetaWear C++ API  0.18.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 
37 
38 #ifdef __cplusplus
39 }
40 #endif
struct MblMwMetaWearBoard MblMwMetaWearBoard
Software representation of a physical MetaWear board.
Definition: metawearboard_fwd.h:17
METAWEAR_API void mbl_mw_humidity_bme280_set_oversampling(const MblMwMetaWearBoard *board, MblMwHumidityBme280Oversampling oversampling)
Sets the oversampling mode.
MblMwHumidityBme280Oversampling
Supported oversampling modes on the BME280 humidity sensor.
Definition: humidity_bme280.h:17
METAWEAR_API MblMwDataSignal * mbl_mw_humidity_bme280_get_percentage_data_signal(const MblMwMetaWearBoard *board)
Retrieves the data signal representing humidity data.
#define METAWEAR_API
Indicates the function should be exported to the symbol table.
Definition: dllmarker.h:27
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15