Skip to content

Commit

Permalink
Merge pull request #4 from adafruit/stemma_i2c
Browse files Browse the repository at this point in the history
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada committed Nov 28, 2022
2 parents 0eab35c + 04ecdd9 commit add885a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/guva_c32sm_fulltest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions examples/guvb_c31sm_fulltest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions examples/guvb_c31sm_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit add885a

Please sign in to comment.