Skip to content

Commit add885a

Browse files
authored
Merge pull request #4 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 0eab35c + 04ecdd9 commit add885a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/guva_c32sm_fulltest.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010

1111
i2c = board.I2C() # uses board.SCL and board.SDA
12+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1213

1314
debug_i2c = DebugI2C(i2c)
1415

examples/guvb_c31sm_fulltest.py

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import adafruit_guvx_i2c
88

99
i2c = board.I2C() # uses board.SCL and board.SDA
10+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1011
sensor = adafruit_guvx_i2c.GUVB_C31SM(i2c)
1112

1213
# You can select four different power modes: GUVXI2C_PMODE_NORMAL,

examples/guvb_c31sm_simpletest.py

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import adafruit_guvx_i2c
88

99
i2c = board.I2C() # uses board.SCL and board.SDA
10+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1011
sensor = adafruit_guvx_i2c.GUVB_C31SM(i2c)
1112

1213
# Check advanced example for more settings, start with lowest range

0 commit comments

Comments
 (0)