Private
Public Access
2
0

gpio: enable very basic gpio control from swig

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-04-10 18:00:50 +01:00
parent 72f249fce1
commit e59b8b2038
6 changed files with 45 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env python3
import pymaa
x = pymaa.gpio_t()
print(x.pin)
gpio_init(x, 20)
print(x.pin)