projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
104555b
)
hello_isr.py: fix usage of isr in python example
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Fri, 16 May 2014 16:52:06 +0000
(17:52 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Fri, 16 May 2014 16:52:06 +0000
(17:52 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/python/hello_isr.py
patch
|
blob
|
history
diff --git
a/examples/python/hello_isr.py
b/examples/python/hello_isr.py
index
64df878
..
e0ba0c6
100644
(file)
--- 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)