summaryrefslogtreecommitdiff
path: root/tests/pyb/extint.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-13 16:43:17 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-13 17:27:29 +1100
commit4b184d12819139fc51073248614111c45a5ac631 (patch)
treea9f94a55ac06d72bb1f6258d0db06aee05af13af /tests/pyb/extint.py
parent7280bf40d9b43118cca87a7321c088e118a5ebc1 (diff)
tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD.
Diffstat (limited to 'tests/pyb/extint.py')
-rw-r--r--tests/pyb/extint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/extint.py b/tests/pyb/extint.py
index ae98ccd5a..8b6bc5651 100644
--- a/tests/pyb/extint.py
+++ b/tests/pyb/extint.py
@@ -1,7 +1,7 @@
import pyb
# test basic functionality
-ext = pyb.ExtInt('Y1', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l))
+ext = pyb.ExtInt('X5', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l))
ext.disable()
ext.enable()
print(ext.line())