gpio: Added args param to maa_gpio_isr and added documentation
[contrib/mraa.git] / examples / python / hello_gpio.py
index 008fb00..cacee8a 100644 (file)
@@ -24,6 +24,7 @@
 
 import pymaa
 
-pumaa.init()
+print (pymaa.getVersion())
 x = pymaa.Gpio(13)
-print(x.pin)
+x.dir(pymaa.DIR_OUT)
+x.write(1)