From 3dd2a2dacd318dc833afcaf648e76ec54e64e559 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:27 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/mmc56x3_continuous.py | 1 + examples/mmc56x3_simpletest.py | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/mmc56x3_continuous.py b/examples/mmc56x3_continuous.py index c3bdd64..fdc59d4 100644 --- a/examples/mmc56x3_continuous.py +++ b/examples/mmc56x3_continuous.py @@ -7,6 +7,7 @@ import adafruit_mmc56x3 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = adafruit_mmc56x3.MMC5603(i2c) sensor.data_rate = 10 # in Hz, from 1-255 or 1000 diff --git a/examples/mmc56x3_simpletest.py b/examples/mmc56x3_simpletest.py index 2561f5c..88e82eb 100644 --- a/examples/mmc56x3_simpletest.py +++ b/examples/mmc56x3_simpletest.py @@ -8,6 +8,7 @@ import adafruit_mmc56x3 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = adafruit_mmc56x3.MMC5603(i2c) while True: