Skip to content

Commit 318660d

Browse files
authored
Merge pull request #76 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents 56346aa + e317292 commit 318660d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/charlcd_i2c_mono_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Initialise I2C bus.
1414
i2c = board.I2C() # uses board.SCL and board.SDA
15+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1516

1617
# Initialise the lcd class
1718
lcd = character_lcd.Character_LCD_I2C(i2c, lcd_columns, lcd_rows)

examples/charlcd_i2c_rgb_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Initialise I2C bus.
1414
i2c = board.I2C() # uses board.SCL and board.SDA
15+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1516

1617
# Initialise the LCD class
1718
lcd = character_lcd.Character_LCD_RGB_I2C(i2c, lcd_columns, lcd_rows)

examples/charlcd_keypad_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Initialise I2C bus.
1414
i2c = board.I2C() # uses board.SCL and board.SDA
15+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1516

1617
# Initialise the LCD class
1718
lcd = character_lcd.Character_LCD_RGB_I2C(i2c, lcd_columns, lcd_rows)

0 commit comments

Comments
 (0)