summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/pin.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/pin.py')
-rw-r--r--tests/pyb/pin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pyb/pin.py b/tests/pyb/pin.py
index b3eb87b608..9b37883438 100644
--- a/tests/pyb/pin.py
+++ b/tests/pyb/pin.py
@@ -1,14 +1,14 @@
from pyb import Pin
-p = Pin('X1', Pin.IN)
+p = Pin('Y1', Pin.IN)
print(p)
print(p.name())
print(p.pin())
print(p.port())
-p = Pin('X1', Pin.IN, Pin.PULL_UP)
-p = Pin('X1', Pin.IN, pull=Pin.PULL_UP)
-p = Pin('X1', mode=Pin.IN, pull=Pin.PULL_UP)
+p = Pin('Y1', Pin.IN, Pin.PULL_UP)
+p = Pin('Y1', Pin.IN, pull=Pin.PULL_UP)
+p = Pin('Y1', mode=Pin.IN, pull=Pin.PULL_UP)
print(p)
print(p.value())