From d1743ac9b1240bbc75971f54e3d83e594daf262b Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:26 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/max1704x_advanced.py | 1 + examples/max1704x_simpletest.py | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/max1704x_advanced.py b/examples/max1704x_advanced.py index 3344685..2c6a4e5 100644 --- a/examples/max1704x_advanced.py +++ b/examples/max1704x_advanced.py @@ -7,6 +7,7 @@ import adafruit_max1704x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller max17 = adafruit_max1704x.MAX17048(i2c) print( diff --git a/examples/max1704x_simpletest.py b/examples/max1704x_simpletest.py index a0f51d0..05bc833 100644 --- a/examples/max1704x_simpletest.py +++ b/examples/max1704x_simpletest.py @@ -7,6 +7,7 @@ import adafruit_max1704x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller max17 = adafruit_max1704x.MAX17048(i2c) print(