diff --git a/examples/adxl34x_freefall_detection_test.py b/examples/adxl34x_freefall_detection_test.py index 689aa23..0207dbe 100644 --- a/examples/adxl34x_freefall_detection_test.py +++ b/examples/adxl34x_freefall_detection_test.py @@ -6,6 +6,7 @@ import adafruit_adxl34x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # For ADXL343 accelerometer = adafruit_adxl34x.ADXL343(i2c) diff --git a/examples/adxl34x_motion_detection_test.py b/examples/adxl34x_motion_detection_test.py index 4367dd5..2c1bace 100644 --- a/examples/adxl34x_motion_detection_test.py +++ b/examples/adxl34x_motion_detection_test.py @@ -6,6 +6,7 @@ import adafruit_adxl34x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # For ADXL343 accelerometer = adafruit_adxl34x.ADXL343(i2c) diff --git a/examples/adxl34x_simpletest.py b/examples/adxl34x_simpletest.py index f44d681..c308862 100644 --- a/examples/adxl34x_simpletest.py +++ b/examples/adxl34x_simpletest.py @@ -6,6 +6,7 @@ import adafruit_adxl34x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # For ADXL343 accelerometer = adafruit_adxl34x.ADXL343(i2c) diff --git a/examples/adxl34x_tap_detection_test.py b/examples/adxl34x_tap_detection_test.py index 9d3eabd..45ba929 100644 --- a/examples/adxl34x_tap_detection_test.py +++ b/examples/adxl34x_tap_detection_test.py @@ -6,6 +6,7 @@ import adafruit_adxl34x i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # For ADXL343 accelerometer = adafruit_adxl34x.ADXL343(i2c)