Private
Public Access
2
0

maa.i: maa_init is now done after swig initialisation routine

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-07 17:39:58 +01:00
parent ce273c04a5
commit 83a5e6cde8
5 changed files with 4 additions and 6 deletions

View File

@@ -25,7 +25,6 @@
import pymaa as maa
import time
maa.init()
x = maa.Gpio(8)
x.dir(maa.MAA_GPIO_OUT)

View File

@@ -25,7 +25,6 @@
import pymaa as maa
import time
maa.init()
x = maa.PWM(0,3)
x.enable(1);
x.period_us(20)

View File

@@ -24,6 +24,5 @@
import pymaa
pumaa.init()
x = pymaa.Gpio(13)
print(x.pin)

View File

@@ -24,7 +24,6 @@
import pymaa as maa
maa.init()
x = maa.I2c()
x.address(0x62)
y= " "