We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffa5a2a + ec59f45 commit 8bda6c9Copy full SHA for 8bda6c9
examples/mpl3115a2_simpletest.py
@@ -10,6 +10,7 @@
10
11
# Create sensor object, communicating over the board's default I2C bus
12
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
14
15
# Initialize the MPL3115A2.
16
sensor = adafruit_mpl3115a2.MPL3115A2(i2c)
0 commit comments