pimoroni / bme680-python

Python library for the BME680 gas, temperature, humidity and pressure sensor.
https://shop.pimoroni.com/products/bme680
MIT License
271 stars 96 forks source link

Using v2.0.0 with temperature_pressure_humidity.py unmodified example from repository #51

Closed baqwas closed 3 months ago

baqwas commented 3 months ago
Traceback (most recent call last):
  File "/home/chowkidar/projects/bme680/./hello_bme680.py", line 6, in <module>
    sensor = BME680(bme680.I2C_ADDR_PRIMARY)
                    ^^^^^^
NameError: name 'bme680' is not defined. Did you mean: 'BME680'?

What should I mean?

BME680 I2C address is 0x76 (as reported by i2cdetect -y 1)

baqwas commented 3 months ago

My mistake. Please close issue! Sorry.