diff --git a/tests/psoc6/pin.py b/tests/psoc6/pin.py index 0f03c6ac3706..8c7ba1574ef9 100644 --- a/tests/psoc6/pin.py +++ b/tests/psoc6/pin.py @@ -9,15 +9,14 @@ pin1_name = "P13_7" pin2_name = "P0_4" elif "CY8CPROTO-063-BLE" in machine: - print("SKIP") - raise SystemExit + pin1_name = "P6_3" + pin2_name = "P0_4" # Tests for Output pin # Instantiate output pin for led operation # Constr p1 = Pin(pin1_name) p1.init(Pin.OUT) -print(p1) # Pin:111 or P13_7, Mode=OUT, Pull=None, Value=1 p1.value(0) # Led glows print(p1.value()) # None @@ -31,6 +30,5 @@ # Tests for Input pin # Instantiate input pin for button operation p2 = Pin(pin2_name, Pin.IN) -print(p2) # Pin:4 or P0_4, Mode=IN, Pull=None, Value=1 p2.value() print(p2.value()) # 1 - button is released diff --git a/tests/psoc6/pin.py.exp b/tests/psoc6/pin.py.exp index 99572fff665c..37df6a5b2f32 100644 --- a/tests/psoc6/pin.py.exp +++ b/tests/psoc6/pin.py.exp @@ -1,6 +1,4 @@ -Pin:111 or P13_7, Mode=OUT, Pull=None None None None -Pin:4 or P0_4, Mode=IN, Pull=None 1