diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-06 13:48:01 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-06 13:50:34 +1100 |
commit | d3bb3e38df3fcb2b980d37e06fde7eac9e689f6a (patch) | |
tree | c40a640ef34bceddc2d1aac602717b23f58d2196 /tests/pyb/extint.py | |
parent | 27c149efe030b6fd24c0cc1475ea509da1a72821 (diff) | |
download | micropython-d3bb3e38df3fcb2b980d37e06fde7eac9e689f6a.tar.gz micropython-d3bb3e38df3fcb2b980d37e06fde7eac9e689f6a.zip |
tests/pyb: Adjust tests so they can run on PYB and PYBLITE.
A few tests still fail on PYBLITE, and that's due to differences in the
available peripheral block numbers on the different MCUs (eg I2C(2)
exists on one, but it's I2C(3) on the other).
Diffstat (limited to 'tests/pyb/extint.py')
-rw-r--r-- | tests/pyb/extint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/extint.py b/tests/pyb/extint.py index a8ba484b1c..ae98ccd5a0 100644 --- a/tests/pyb/extint.py +++ b/tests/pyb/extint.py @@ -1,7 +1,7 @@ import pyb # test basic functionality -ext = pyb.ExtInt('X1', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l)) +ext = pyb.ExtInt('Y1', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l)) ext.disable() ext.enable() print(ext.line()) |