diff --git a/examples/pcf8575_blink16outputs.py b/examples/pcf8575_blink16outputs.py index e8d5e44..acfb671 100644 --- a/examples/pcf8575_blink16outputs.py +++ b/examples/pcf8575_blink16outputs.py @@ -8,7 +8,8 @@ print("PCF8575 16 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_pcf8575.PCF8575(i2c) while True: diff --git a/examples/pcf8575_buttonled.py b/examples/pcf8575_buttonled.py index d640eaa..f4ec4c4 100644 --- a/examples/pcf8575_buttonled.py +++ b/examples/pcf8575_buttonled.py @@ -9,7 +9,8 @@ print("PCF8575 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_pcf8575.PCF8575(i2c) # get a 'digitalio' like pin from the pcf diff --git a/examples/pcf8575_read16inputs.py b/examples/pcf8575_read16inputs.py index bdfb0c9..c211675 100644 --- a/examples/pcf8575_read16inputs.py +++ b/examples/pcf8575_read16inputs.py @@ -8,7 +8,8 @@ print("PCF8575 16 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_pcf8575.PCF8575(i2c) diff --git a/examples/pcf8575_simpletest.py b/examples/pcf8575_simpletest.py index e8226f8..67d96f2 100644 --- a/examples/pcf8575_simpletest.py +++ b/examples/pcf8575_simpletest.py @@ -8,7 +8,8 @@ print("PCF8575 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_pcf8575.PCF8575(i2c) # get a 'digitalio' like pin from the pcf