File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
# Create sensor object, using the board's default I2C bus.
14
14
i2c = board .I2C () # uses board.SCL and board.SDA
15
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
15
16
bme280 = adafruit_bme280 .Adafruit_BME280_I2C (i2c )
16
17
17
18
# OR create sensor object, using the board's default SPI bus.
Original file line number Diff line number Diff line change 7
7
8
8
# Create sensor object, using the board's default I2C bus.
9
9
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
10
11
bme280 = adafruit_bme280 .Adafruit_BME280_I2C (i2c )
11
12
12
13
# OR create sensor object, using the board's default SPI bus.
You can’t perform that action at this time.
0 commit comments