Private
Public Access
2
0

gpio: Added args param to maa_gpio_isr and added documentation

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
This commit is contained in:
Kiveisha Yevgeniy
2014-06-19 16:23:43 +00:00
parent 93acdf3789
commit 6fbe2a7e53
5 changed files with 38 additions and 16 deletions

View File

@@ -2,9 +2,9 @@
import pymaa as maa
def test():
def test(args):
print("wooo")
x = maa.Gpio(6)
x.dir(maa.DIR_IN)
x.isr(maa.EDGE_BOTH, test)
x.isr(maa.EDGE_BOTH, test, test)