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