Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/airquality.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def control_LED(iaq):
return 'RED'


bme = BME68X(cnst.BME68X_I2C_ADDR_HIGH, 0)
bme = BME68X(cnst.BME68X_I2C_ADDR_HIGH, 1)
bme.set_sample_rate(bsec.BSEC_SAMPLE_RATE_LP)


Expand Down
4 changes: 2 additions & 2 deletions examples/forced_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from time import sleep

print('TESTING FORCED MODE WITHOUT BSEC')
bme = BME68X(cst.BME68X_I2C_ADDR_HIGH, 1)
bme = BME68X(cst.BME68X_I2C_ADDR_HIGH, 0)
# Configure sensor to measure at 320 degC for 100 millisec
bme.set_heatr_conf(cst.BME68X_FORCED_MODE, 320, 100, cst.BME68X_ENABLE)
bme.set_heatr_conf(cst.BME68X_ENABLE, 320, 100, cst.BME68X_FORCED_MODE)
print(bme.get_data())
sleep(3)
print('\nTESTING FORCED MODE WITH BSEC')
Expand Down
2 changes: 1 addition & 1 deletion examples/parallel_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
print(sensor.get_data())

print('\n\nPARALLEL MODE WITH BSEC')
sensor = BME68X(cnst.BME68X_I2C_ADDR_HIGH, 0)
sensor = BME68X(cnst.BME68X_I2C_ADDR_HIGH, 1)
sensor.set_sample_rate(bsec.BSEC_SAMPLE_RATE_HIGH_PERFORMANCE)


Expand Down