Skip to content

Commit

Permalink
Merge pull request #76 from adafruit/stemma_i2c
Browse files Browse the repository at this point in the history
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada committed Nov 28, 2022
2 parents 56346aa + e317292 commit 318660d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/charlcd_i2c_mono_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

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

# Initialise the lcd class
lcd = character_lcd.Character_LCD_I2C(i2c, lcd_columns, lcd_rows)
Expand Down
1 change: 1 addition & 0 deletions examples/charlcd_i2c_rgb_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

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

# Initialise the LCD class
lcd = character_lcd.Character_LCD_RGB_I2C(i2c, lcd_columns, lcd_rows)
Expand Down
1 change: 1 addition & 0 deletions examples/charlcd_keypad_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

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

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

0 comments on commit 318660d

Please sign in to comment.