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:
@@ -25,7 +25,6 @@
|
||||
import pymaa as maa
|
||||
import time
|
||||
|
||||
maa.init()
|
||||
x = maa.Gpio(8)
|
||||
x.dir(maa.MAA_GPIO_OUT)
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
import pymaa as maa
|
||||
import time
|
||||
|
||||
maa.init()
|
||||
x = maa.PWM(0,3)
|
||||
x.enable(1);
|
||||
x.period_us(20)
|
||||
|
||||
@@ -24,6 +24,5 @@
|
||||
|
||||
import pymaa
|
||||
|
||||
pumaa.init()
|
||||
x = pymaa.Gpio(13)
|
||||
print(x.pin)
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
import pymaa as maa
|
||||
|
||||
maa.init()
|
||||
x = maa.I2c()
|
||||
x.address(0x62)
|
||||
y= " "
|
||||
|
||||
Reference in New Issue
Block a user