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 ad51bc3 + 6c2cd36 commit f7ba3eeCopy full SHA for f7ba3ee
examples/si7021_simpletest.py
@@ -9,7 +9,9 @@
9
import adafruit_si7021
10
11
# Create library object using our Bus I2C port
12
-sensor = adafruit_si7021.SI7021(board.I2C())
+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
+sensor = adafruit_si7021.SI7021(i2c)
15
16
# If you'd like to use the heater, you can uncomment the code below
17
# and pick a heater level that works for your purposes
0 commit comments