Skip to content

Commit

Permalink
Merge pull request #29 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 22, 2022
2 parents 2702917 + 0c66dba commit 9672ab6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/pcf8523_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
import board
import adafruit_pcf8523

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
rtc = adafruit_pcf8523.PCF8523(i2c)

# Lookup table for names of days (nicer printing).
Expand Down

0 comments on commit 9672ab6

Please sign in to comment.