hello_isr.py: fix usage of isr in python example
[contrib/mraa.git] / examples / python / hello_isr.py
index 64df878..e0ba0c6 100644 (file)
@@ -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)