#BME680

1 messages · Page 1 of 1 (latest)

quartz pendant
#

@shy oyster

#

yup, this worked for me, now will try the Arduino library:

import adafruit_bme680
import board
import busio
import time

i2c = busio.I2C(scl=board.GP7, sda=board.GP6)
bme = adafruit_bme680.Adafruit_BME680_I2C(i2c)
while True:
    print(bme.temperature)
    time.sleep(1)
shy oyster
#

Oh hey, that worked for me too! I guess I missed the combination of setting the SDA and SCL and changing the constructor for the Adafruit_BME680 object.

#

Thank you for helping me debug! I was hoping it would be something simple I overlooked and just needed a second set of eyes on!