Skip to content

Commit

Permalink
Merge pull request #20 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 authored Nov 28, 2022
2 parents 1dfa940 + 0a518ea commit faf2644
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/as726x_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def graph_map(x):


# for I2C use:
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
sensor = AS726x_I2C(i2c)

# for UART use:
Expand Down

0 comments on commit faf2644

Please sign in to comment.