diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-10-25 15:39:28 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-10-25 15:39:28 +0200 |
commit | 7047bcec472ae06ccb11849fb9538c687743ec9d (patch) | |
tree | b160f3d3f5cd1ff00b18b410e5db1de13889d6bb /src | |
parent | a4cad3173fc49cc0286f6eedf6efbca15db6688e (diff) |
BME280: Add DFA model
Diffstat (limited to 'src')
-rw-r--r-- | src/app/i2cdetect/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/i2cdetect/main.cc b/src/app/i2cdetect/main.cc index faa2725..e5442ff 100644 --- a/src/app/i2cdetect/main.cc +++ b/src/app/i2cdetect/main.cc @@ -72,7 +72,7 @@ void loop(void) bme280.settings.filter = BME280_FILTER_COEFF_OFF; bme280.settings.standby_time = BME280_STANDBY_TIME_500_MS; bme280.setSensorSettings(BME280_OSR_PRESS_SEL | BME280_OSR_TEMP_SEL | BME280_OSR_HUM_SEL | BME280_FILTER_SEL | BME280_STANDBY_SEL); - bme280.setSensorMode(BME280_NORMAL_MODE); + bme280.enterNormalMode(); arch.delay_ms(100); rslt = bme280.getSensorData(BME280_ALL, &comp_data); kout << "BME280 read " << rslt << endl; |