From 04409ace4f6bbb294a548c8d3fc3974b1994b4c1 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/fxas21002c_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/fxas21002c_simpletest.py b/examples/fxas21002c_simpletest.py index 12ab8ce..a653225 100644 --- a/examples/fxas21002c_simpletest.py +++ b/examples/fxas21002c_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_fxas21002c.FXAS21002C(i2c) # Optionally create the sensor with a different gyroscope range (the # default is 250 DPS, but you can use 500, 1000, or 2000 DPS values):