Skip to content

Commit 9672ab6

Browse files
authored
Merge pull request #29 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 2702917 + 0c66dba commit 9672ab6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/pcf8523_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import board
1111
import adafruit_pcf8523
1212

13-
i2c = board.I2C()
13+
i2c = board.I2C() # uses board.SCL and board.SDA
14+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1415
rtc = adafruit_pcf8523.PCF8523(i2c)
1516

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

0 commit comments

Comments
 (0)