Environmental
Last updated
Was this helpful?
This section will help us to review the environmental sensor BME280 . We are going to review how to initialized and read the sensor data.
BME280
The table below contains some of the configuration functions of the environmental sensor
Environmental_setOverSamplingTemperature()
Configures the temperature oversampling rate with the given oversampling enumeration.
Environmental_setOverSamplingPressure()
Configures the pressure oversampling rate with the given oversampling enumeration.
Environmental_setOverSamplingHumidity()
Configures the humidity oversampling rate with the given oversampling enumeration.
Environmental_setFilterCoefficient()
Configures the temperature and pressure filtering of the environmental sensor with a given filter coefficient enumeration.
Environmental_setStandbyDuration()
Configures the environmental sensor with the given sleep duration enumeration.
Environmental_getStandbyDuration()
Returns the configured sleep duration of the environmental sensor in a passed reference variable.
Environmental_setPowerMode()
Configures the environmental sensor with the given power mode enumeration.
Environmental_getPowerMode()
Returns the configured power mode of the enviromental sensor in a passed reference variable.