We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2ddea6 + 3c3cc27 commit bd1634eCopy full SHA for bd1634e
examples/mma8451_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 MMA8451 module.
16
sensor = adafruit_mma8451.MMA8451(i2c)
0 commit comments