From c7b9de9c2c839d8d5457763474507a19b201b216 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/lps2x_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/lps2x_simpletest.py b/examples/lps2x_simpletest.py index 5be6562..3382996 100644 --- a/examples/lps2x_simpletest.py +++ b/examples/lps2x_simpletest.py @@ -5,7 +5,8 @@ import board import adafruit_lps2x -i2c = board.I2C() +i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # uncomment and comment out the line after to use with the LPS22 # lps = adafruit_lps2x.LPS22(i2c) lps = adafruit_lps2x.LPS25(i2c)