From f08e8f5c80184d041f3397e378e509b9946e9ac3 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/mpl3115a2_simpletest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/mpl3115a2_simpletest.py b/examples/mpl3115a2_simpletest.py index dff65bf..e887159 100644 --- a/examples/mpl3115a2_simpletest.py +++ b/examples/mpl3115a2_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 # Initialize the MPL3115A2. sensor = adafruit_mpl3115a2.MPL3115A2(i2c)