Skip to content

Commit

Permalink
Added commented out board.STEMMA_I2C with explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
evaherrada committed Nov 18, 2022
1 parent 1cb4fcd commit 3dd2a2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/mmc56x3_continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import adafruit_mmc56x3

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_mmc56x3.MMC5603(i2c)

sensor.data_rate = 10 # in Hz, from 1-255 or 1000
Expand Down
1 change: 1 addition & 0 deletions examples/mmc56x3_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import adafruit_mmc56x3

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_mmc56x3.MMC5603(i2c)

while True:
Expand Down

0 comments on commit 3dd2a2d

Please sign in to comment.