From e31729205bb3753d85585b317cf5c6defcbd42fe Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:21 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/charlcd_i2c_mono_simpletest.py | 1 + examples/charlcd_i2c_rgb_simpletest.py | 1 + examples/charlcd_keypad_simpletest.py | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/charlcd_i2c_mono_simpletest.py b/examples/charlcd_i2c_mono_simpletest.py index b175b96..299ce35 100644 --- a/examples/charlcd_i2c_mono_simpletest.py +++ b/examples/charlcd_i2c_mono_simpletest.py @@ -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) diff --git a/examples/charlcd_i2c_rgb_simpletest.py b/examples/charlcd_i2c_rgb_simpletest.py index 960936d..374dbf6 100644 --- a/examples/charlcd_i2c_rgb_simpletest.py +++ b/examples/charlcd_i2c_rgb_simpletest.py @@ -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) diff --git a/examples/charlcd_keypad_simpletest.py b/examples/charlcd_keypad_simpletest.py index ad2e780..c1a7524 100644 --- a/examples/charlcd_keypad_simpletest.py +++ b/examples/charlcd_keypad_simpletest.py @@ -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)