Skip to content

Commit 1d17e76

Browse files
authored
Merge pull request #7 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 8592846 + 6ec2750 commit 1d17e76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/aw9523_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import digitalio
77
import adafruit_aw9523
88

9-
i2c = board.I2C()
9+
i2c = board.I2C() # uses board.SCL and board.SDA
10+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1011
aw = adafruit_aw9523.AW9523(i2c)
1112

1213
led_pin = aw.get_pin(0) # LED on AW9523 io 0

0 commit comments

Comments
 (0)