From 5d9fc39ae91f3e4c956cd6409aff75307dab02e1 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Fri, 16 May 2014 17:52:06 +0100 Subject: [PATCH] hello_isr.py: fix usage of isr in python example Signed-off-by: Brendan Le Foll --- examples/python/hello_isr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/hello_isr.py b/examples/python/hello_isr.py index 64df878..e0ba0c6 100644 --- a/examples/python/hello_isr.py +++ b/examples/python/hello_isr.py @@ -7,4 +7,4 @@ def test(): x = maa.Gpio(6) x.dir(maa.MAA_GPIO_IN) -x.set_isr(test) +x.isr(maa.MAA_GPIO_EDGE_BOTH, test) -- 2.7.4