Skip to content

Commit e317292

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent 56346aa commit e317292

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)