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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user