2017-04-18 16:21:47 +10:00
|
|
|
# test the micropython.kbd_intr() function
|
|
|
|
|
|
|
|
import micropython
|
|
|
|
|
|
|
|
try:
|
|
|
|
micropython.kbd_intr
|
|
|
|
except AttributeError:
|
2021-03-15 19:27:36 +05:30
|
|
|
print("SKIP")
|
2017-06-10 20:14:16 +03:00
|
|
|
raise SystemExit
|
2017-04-18 16:21:47 +10:00
|
|
|
|
|
|
|
# just check we can actually call it
|
|
|
|
micropython.kbd_intr(3)
|