projects
/
contrib
/
mraa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: Added args param to maa_gpio_isr and added documentation
[contrib/mraa.git]
/
examples
/
python
/
hello_gpio.py
diff --git
a/examples/python/hello_gpio.py
b/examples/python/hello_gpio.py
index
008fb00
..
cacee8a
100644
(file)
--- a/
examples/python/hello_gpio.py
+++ b/
examples/python/hello_gpio.py
@@
-24,6
+24,7
@@
import pymaa
-p
umaa.init(
)
+p
rint (pymaa.getVersion()
)
x = pymaa.Gpio(13)
-print(x.pin)
+x.dir(pymaa.DIR_OUT)
+x.write(1)