From d578157ca208d1ec3001e7889549f278e1b389e5 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:25 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/l3gd20_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/l3gd20_simpletest.py b/examples/l3gd20_simpletest.py index f35e932..ea25a9a 100644 --- a/examples/l3gd20_simpletest.py +++ b/examples/l3gd20_simpletest.py @@ -7,6 +7,7 @@ # Hardware I2C setup: I2C = board.I2C() # uses board.SCL and board.SDA +# I2C = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # Initializes L3GD20 object using default range, 250dps SENSOR = adafruit_l3gd20.L3GD20_I2C(I2C) # Initialize L3GD20 object using a custom range and output data rate (ODR).