-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi Everyone,
while running the sample code (python3 forced_mode.py ) I am getting the following error:
TESTING FORCED MODE WITHOUT BSEC
INITIALIZED BME68X
VARIANT = BME688
SET BME68X CONFIG
SET HEATER CONFIG (FORCED MODE)
SET HEATER CONFIG (FORCED MODE)
{'sample_nr': 1, 'timestamp': 312986, 'temperature': 23.257213592529297, 'pressure': 100083.6015625, 'humidity': 82.25715637207031, 'gas_resistance': 9402.5849609375, 'status': 160}
TESTING FORCED MODE WITH BSEC
INITIALIZED BME68X
VARIANT = BME688
SET BME68X CONFIG
SET HEATER CONFIG (FORCED MODE)
Traceback (most recent call last):
File "forced_mode.py", line 18, in
bme.set_sample_rate(bsec.BSEC_SAMPLE_RATE_LP)
AttributeError: 'bme68x.BME68X' object has no attribute 'set_sample_rate'
and when i try to run :
~/bme68x-python-library/tools/bmerawdata $ python3 bmerawdata.py
i get the following error :
INITIALIZED BME68X
VARIANT = BME688
SET BME68X CONFIG
SET HEATER CONFIG (FORCED MODE)
HEATR CONF IN SET AI CONF
[5, 2, 10, 30, 5, 5, 5, 5, 5, 5]
320 100 100 100 200 200 200 320 320 320
5 2 10 30 5 5 5 5 5 5
SET HEATER CONFIG (PARALLEL MODE)
Traceback (most recent call last):
File "bmerawdata.py", line 178, in
bme68x_ai = BME68X_AI(BME68XCONST.BME68X_I2C_ADDR_HIGH, ai_conf)
File "bmerawdata.py", line 67, in init
self.sensor_id = self.get_sensor_id()
AttributeError: 'BME68X_AI' object has no attribute 'get_sensor_id'
any idea what could be wrong?