Skip to content

Commit f08e8f5

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent a18f1c8 commit f08e8f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/mpl3115a2_simpletest.py

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

1111
# Create sensor object, communicating over the board's default I2C bus
1212
i2c = board.I2C() # uses board.SCL and board.SDA
13+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1314

1415
# Initialize the MPL3115A2.
1516
sensor = adafruit_mpl3115a2.MPL3115A2(i2c)

0 commit comments

Comments
 (0)