From f69e9cb7593d94a28da0523baa220b5580d2d1cd Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:23 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/fxos8700_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/fxos8700_simpletest.py b/examples/fxos8700_simpletest.py index 3b4c087..e54bb3f 100644 --- a/examples/fxos8700_simpletest.py +++ b/examples/fxos8700_simpletest.py @@ -10,6 +10,7 @@ # Create sensor object, communicating over the board's default I2C bus 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_fxos8700.FXOS8700(i2c) # Optionally create the sensor with a different accelerometer range (the # default is 2G, but you can use 4G or 8G values):