Skip to content

Commit aaef585

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent b59f158 commit aaef585

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/ds1307_simpletest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import board
1111
import adafruit_ds1307
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_ds1307.DS1307(i2c)
1516

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

0 commit comments

Comments
 (0)