* This changes the swig interface so Python/Node APIs change slightly Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
11 lines
134 B
Python
11 lines
134 B
Python
#!/usr/bin/env python
|
|
|
|
import pymaa as maa
|
|
|
|
def test():
|
|
print("wooo")
|
|
|
|
x = maa.Gpio(6)
|
|
x.dir(maa.DIR_IN)
|
|
x.isr(maa.EDGE_BOTH, test)
|