From b060fbb2745a436097c97138bf8e56c9a5e2a9b1 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:20 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/24lc32_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/24lc32_simpletest.py b/examples/24lc32_simpletest.py index ef0617d..001cbc0 100644 --- a/examples/24lc32_simpletest.py +++ b/examples/24lc32_simpletest.py @@ -5,7 +5,8 @@ import board import adafruit_24lc32 -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 eeprom = adafruit_24lc32.EEPROM_I2C(i2c) print("length: {}".format(len(eeprom)))