Skip to content

Commit faf2644

Browse files
authored
Merge pull request #20 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 1dfa940 + 0a518ea commit faf2644

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/as726x_simpletest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def graph_map(x):
2222

2323

2424
# for I2C use:
25-
i2c = board.I2C()
25+
i2c = board.I2C() # uses board.SCL and board.SDA
26+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
2627
sensor = AS726x_I2C(i2c)
2728

2829
# for UART use:

0 commit comments

Comments
 (0)