Skip to content

Commit 8b2c9a8

Browse files
authored
Merge pull request #15 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 3f1564a + 6a54510 commit 8b2c9a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/ssd1305_pillow_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
oled = adafruit_ssd1305.SSD1305_SPI(WIDTH, HEIGHT, spi, oled_dc, oled_reset, oled_cs)
3232

3333
# Use for I2C.
34-
# i2c = board.I2C()
34+
# i2c = board.I2C() # uses board.SCL and board.SDA
35+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
3536
# oled = adafruit_ssd1305.SSD1305_I2C(WIDTH, HEIGHT, i2c, addr=0x3c, reset=oled_reset)
3637

3738
# Clear display.

0 commit comments

Comments
 (0)