Added commented out board.STEMMA_I2C with explanation

This commit is contained in:
dherrada 2022-11-18 13:05:29 -05:00
parent e3aa0c3660
commit cb9a0d86f2

View file

@ -31,7 +31,8 @@ oled_dc = digitalio.DigitalInOut(board.D6)
oled = adafruit_ssd1305.SSD1305_SPI(WIDTH, HEIGHT, spi, oled_dc, oled_reset, oled_cs)
# Use for I2C.
# i2c = board.I2C()
# i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
# oled = adafruit_ssd1305.SSD1305_I2C(WIDTH, HEIGHT, i2c, addr=0x3c, reset=oled_reset)
# Clear display.