Skip to content

Commit f2b0508

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 0fcce04 commit f2b0508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/si1145_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
# setup I2C bus using board default
1111
# change as needed for specific boards
12-
i2c = board.I2C()
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
1314

1415
# setup sensor
1516
si1145 = adafruit_si1145.SI1145(i2c)

0 commit comments

Comments
 (0)