Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/pcf8574_blink8outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
3 changes: 2 additions & 1 deletion examples/pcf8574_buttonled.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion examples/pcf8574_read8inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
3 changes: 2 additions & 1 deletion examples/pcf8574_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down