Private
Public Access
2
0
Files
mraa/examples/python/hello_isr.py
2014-06-19 16:23:43 +00:00

11 lines
144 B
Python

#!/usr/bin/env python
import pymaa as maa
def test(args):
print("wooo")
x = maa.Gpio(6)
x.dir(maa.DIR_IN)
x.isr(maa.EDGE_BOTH, test, test)