diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-12-18 16:54:57 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-12-18 16:54:57 +0100 |
commit | b47e5150f90b6f809af84667f5b9547da12420a4 (patch) | |
tree | 9a25e1c49dc5a83f8362ba3efdb000f6ef1dd38c /model/driver/bme280.dfa | |
parent | 97ad2400a5ca3b596c4fa2ff33664aa6fdb30806 (diff) |
BME: Add setStandbyTime
Diffstat (limited to 'model/driver/bme280.dfa')
-rw-r--r-- | model/driver/bme280.dfa | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/model/driver/bme280.dfa b/model/driver/bme280.dfa index 2dcfb3e..3e9b567 100644 --- a/model/driver/bme280.dfa +++ b/model/driver/bme280.dfa @@ -15,6 +15,7 @@ parameters: - pressure_oversampling - temperature_oversampling - iir_filter +- standby_time parameter_normalization: humidity_oversampling: @@ -104,6 +105,13 @@ transition: - name: filter values: ['BME280_FILTER_COEFF_OFF', 'BME280_FILTER_COEFF_2', 'BME280_FILTER_COEFF_4', 'BME280_FILTER_COEFF_8', 'BME280_FILTER_COEFF_16'] parameter: iir_filter + + setStandbyTime: + loop: [SLEEP, NORMAL] + arguments: + - name: standby_time + values: ['BME280_STANDBY_TIME_0_5_MS', 'BME280_STANDBY_TIME_62_5_MS', 'BME280_STANDBY_TIME_125_MS', 'BME280_STANDBY_TIME_250_MS', 'BME280_STANDBY_TIME_500_MS', 'BME280_STANDBY_TIME_1000_MS', 'BME280_STANDBY_TIME_10_MS', 'BME280_STANDBY_TIME_20_MS'] + parameter: standby_time getSensorData: src: [NORMAL] dst: NORMAL |