Skip to content

Commit 785c377

Browse files
committed
Add reformatted file
1 parent 617483e commit 785c377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pca9554_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
i2c = board.I2C()
1313
tft_io_expander = dict(board.TFT_IO_EXPANDER)
1414

15-
pcf = adafruit_pca9554.PCA9554(i2c, address=tft_io_expander['i2c_address'])
15+
pcf = adafruit_pca9554.PCA9554(i2c, address=tft_io_expander["i2c_address"])
1616
button_up = pcf.get_pin(board.BTN_UP)
1717
button_up.switch_to_input(pull=digitalio.Pull.UP)
1818

1919
while True:
2020
print(button_up.value)
21-
time.sleep(0.01) # debounce
21+
time.sleep(0.01) # debounce

0 commit comments

Comments
 (0)