X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fpython%2Fhello_isr.py;h=e0ba0c6ee0ac43ba7c3d03cc6650ca18b5cc7790;hb=5d9fc39ae91f3e4c956cd6409aff75307dab02e1;hp=64df87843d44cc61b816a86e619d4892485ada14;hpb=104555b9081bdd3f0aa0f3889043e7daa46fd8e5;p=contrib%2Fmraa.git 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)