From bebd14a685273fba68020e8713d4e82804806abc 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/msa301_simpletest.py | 1 + examples/msa301_tap_example.py | 1 + examples/msa311_simpletest.py | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/msa301_simpletest.py b/examples/msa301_simpletest.py index 93fc3bf..afa185e 100755 --- a/examples/msa301_simpletest.py +++ b/examples/msa301_simpletest.py @@ -6,6 +6,7 @@ from adafruit_msa3xx import MSA301 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller msa = MSA301(i2c) while True: diff --git a/examples/msa301_tap_example.py b/examples/msa301_tap_example.py index bb1dc03..5c08408 100644 --- a/examples/msa301_tap_example.py +++ b/examples/msa301_tap_example.py @@ -6,6 +6,7 @@ from adafruit_msa3xx import MSA301 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller msa = MSA301(i2c) msa.enable_tap_detection() diff --git a/examples/msa311_simpletest.py b/examples/msa311_simpletest.py index 9bd475a..f9d634b 100644 --- a/examples/msa311_simpletest.py +++ b/examples/msa311_simpletest.py @@ -6,6 +6,7 @@ from adafruit_msa3xx import MSA311 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller msa = MSA311(i2c) while True: