examples: Update examples to use newer maa functions
* Use maa_init() before any other maa functions are called * Use ioNN instead of gpioXX, Using mapping Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
import pymaa as maa
|
||||
import time
|
||||
|
||||
maa.maa_init()
|
||||
x = maa.PWM(0,3)
|
||||
x.enable(1);
|
||||
x.period_us(20)
|
||||
|
||||
Reference in New Issue
Block a user