Skip to content

Commit b060fbb

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 496c7cc commit b060fbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/24lc32_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import board
66
import adafruit_24lc32
77

8-
i2c = board.I2C()
8+
i2c = board.I2C() # uses board.SCL and board.SDA
9+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
910
eeprom = adafruit_24lc32.EEPROM_I2C(i2c)
1011

1112
print("length: {}".format(len(eeprom)))

0 commit comments

Comments
 (0)