Skip to content

Commit e6a9a01

Browse files
authored
Merge pull request #44 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 08c57d7 + bb01053 commit e6a9a01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/ds3231_simpletest.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import adafruit_ds3231
1212

1313
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_ds3231.DS3231(i2c)
1516

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

0 commit comments

Comments
 (0)