From 5001c62c6bfb028acb2204bad3544e1c9d18141b Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:24 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/guva_c32sm_fulltest.py | 1 + examples/guvb_c31sm_fulltest.py | 1 + examples/guvb_c31sm_simpletest.py | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/guva_c32sm_fulltest.py b/examples/guva_c32sm_fulltest.py index 4604089..86d2bd4 100644 --- a/examples/guva_c32sm_fulltest.py +++ b/examples/guva_c32sm_fulltest.py @@ -9,6 +9,7 @@ i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller debug_i2c = DebugI2C(i2c) diff --git a/examples/guvb_c31sm_fulltest.py b/examples/guvb_c31sm_fulltest.py index 16a6429..6a32b79 100644 --- a/examples/guvb_c31sm_fulltest.py +++ b/examples/guvb_c31sm_fulltest.py @@ -7,6 +7,7 @@ import adafruit_guvx_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 sensor = adafruit_guvx_i2c.GUVB_C31SM(i2c) # You can select four different power modes: GUVXI2C_PMODE_NORMAL, diff --git a/examples/guvb_c31sm_simpletest.py b/examples/guvb_c31sm_simpletest.py index e1b6125..a70ff85 100644 --- a/examples/guvb_c31sm_simpletest.py +++ b/examples/guvb_c31sm_simpletest.py @@ -7,6 +7,7 @@ import adafruit_guvx_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 sensor = adafruit_guvx_i2c.GUVB_C31SM(i2c) # Check advanced example for more settings, start with lowest range