Skip to content

Commit 00d76b7

Browse files
authored
Merge pull request #8 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 2842e2b + 6623870 commit 00d76b7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/max1704x_advanced.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import adafruit_max1704x
88

99
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
max17 = adafruit_max1704x.MAX17048(i2c)
1112

1213
print(

examples/max1704x_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import adafruit_max1704x
88

99
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
max17 = adafruit_max1704x.MAX17048(i2c)
1112

1213
print(

0 commit comments

Comments
 (0)