Skip to content

Commit 0ab3124

Browse files
authored
Merge pull request #55 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents aeeba8a + c7854d3 commit 0ab3124

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/bme680_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# Create sensor object, communicating over the board's default I2C bus
99
i2c = board.I2C() # uses board.SCL and board.SDA
10+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1011
bme680 = adafruit_bme680.Adafruit_BME680_I2C(i2c, debug=False)
1112

1213
# change this to match the location's pressure (hPa) at sea level

0 commit comments

Comments
 (0)