Skip to content

Commit 08ca69b

Browse files
committed
tests: Release MCP23009E from reset before D-PAD button tests.
1 parent 4372cf8 commit 08ca69b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/scenarios/board_buttons.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ tests:
9797
script: |
9898
from machine import Pin, I2C
9999
from time import sleep_ms, ticks_ms, ticks_diff
100+
# Release MCP23009E from reset
101+
rst = Pin("RST_EXPANDER", Pin.OUT)
102+
rst.on()
103+
sleep_ms(10)
100104
led = Pin("LED_GREEN", Pin.OUT)
101105
i2c = I2C(1)
102106
bit = 7

0 commit comments

Comments
 (0)