Skip to content

Commit

Permalink
Merge pull request #7 from adafruit/stemma_i2c
Browse files Browse the repository at this point in the history
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada committed Nov 28, 2022
2 parents 8592846 + 6ec2750 commit 1d17e76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/aw9523_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import digitalio
import adafruit_aw9523

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

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

0 comments on commit 1d17e76

Please sign in to comment.