diff --git a/examples/bme280_normal_mode.py b/examples/bme280_normal_mode.py index 85dd156..65505a4 100644 --- a/examples/bme280_normal_mode.py +++ b/examples/bme280_normal_mode.py @@ -12,6 +12,7 @@ # Create sensor object, using the board's default I2C bus. i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller bme280 = adafruit_bme280.Adafruit_BME280_I2C(i2c) # OR create sensor object, using the board's default SPI bus. diff --git a/examples/bme280_simpletest.py b/examples/bme280_simpletest.py index 2f1c39a..5b06be0 100644 --- a/examples/bme280_simpletest.py +++ b/examples/bme280_simpletest.py @@ -7,6 +7,7 @@ # Create sensor object, using the board's default I2C bus. i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller bme280 = adafruit_bme280.Adafruit_BME280_I2C(i2c) # OR create sensor object, using the board's default SPI bus.