projects
/
contrib
/
mraa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
64df87843d44cc61b816a86e619d4892485ada14
[contrib/mraa.git]
/
examples
/
python
/
hello_isr.py
1
#!/usr/bin/env python
2
3
import pymaa as maa
4
5
def test():
6
print("wooo")
7
8
x = maa.Gpio(6)
9
x.dir(maa.MAA_GPIO_IN)
10
x.set_isr(test)