diff --git a/examples/pcf8574_blink8outputs.py b/examples/pcf8574_blink8outputs.py index f9c7c67..05a8790 100644 --- a/examples/pcf8574_blink8outputs.py +++ b/examples/pcf8574_blink8outputs.py @@ -9,7 +9,8 @@ print("PCF8574 8 output LED blink test") -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 pcf = adafruit_pcf8574.PCF8574(i2c) diff --git a/examples/pcf8574_buttonled.py b/examples/pcf8574_buttonled.py index 62dcbd2..fb76772 100644 --- a/examples/pcf8574_buttonled.py +++ b/examples/pcf8574_buttonled.py @@ -10,7 +10,8 @@ print("PCF8574 digitalio LED + button test") -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 pcf = adafruit_pcf8574.PCF8574(i2c) # get a 'digitalio' like pin from the pcf diff --git a/examples/pcf8574_read8inputs.py b/examples/pcf8574_read8inputs.py index 8e5e5c7..d1fc817 100644 --- a/examples/pcf8574_read8inputs.py +++ b/examples/pcf8574_read8inputs.py @@ -9,7 +9,8 @@ print("PCF8574 8 input button test") -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 pcf = adafruit_pcf8574.PCF8574(i2c) diff --git a/examples/pcf8574_simpletest.py b/examples/pcf8574_simpletest.py index 3a68c25..d91a049 100644 --- a/examples/pcf8574_simpletest.py +++ b/examples/pcf8574_simpletest.py @@ -9,7 +9,8 @@ print("PCF8574 digitalio LED blink test") -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 pcf = adafruit_pcf8574.PCF8574(i2c) # get a 'digitalio' like pin from the pcf