Skip to content

Commit ccb9e1f

Browse files
authored
Merge pull request #16 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 44ab647 + b9b450e commit ccb9e1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/displayio_ssd1305_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
)
2727

2828
# Use for I2C
29-
# i2c = board.I2C()
29+
# i2c = board.I2C() # uses board.SCL and board.SDA
30+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
3031
# display_bus = displayio.I2CDisplay(i2c, device_address=0x3c, reset=oled_reset)
3132

3233
WIDTH = 128

0 commit comments

Comments
 (0)