From c127041d5337bc8f2fc92e6842b592ca07ab7d1c Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:28 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/pcf8523_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/pcf8523_simpletest.py b/examples/pcf8523_simpletest.py index efc85ee..2604985 100644 --- a/examples/pcf8523_simpletest.py +++ b/examples/pcf8523_simpletest.py @@ -10,7 +10,8 @@ import board import adafruit_pcf8523 -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 rtc = adafruit_pcf8523.PCF8523(i2c) # Lookup table for names of days (nicer printing).