From cda363a036f550707ed48d94e1be3ad54dda90b6 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 4 May 2014 12:40:51 +0100 Subject: tests, pyb: Add 'import pyb' when needed. --- tests/pyb/extint.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/pyb/extint.py') diff --git a/tests/pyb/extint.py b/tests/pyb/extint.py index 20648995b..47d84c8b5 100644 --- a/tests/pyb/extint.py +++ b/tests/pyb/extint.py @@ -1,3 +1,5 @@ +import pyb + ext = pyb.ExtInt('X1', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l)) ext.disable() ext.enable() -- cgit v1.2.3