C++: Change enum types to be shorter in C++
* This changes the swig interface so Python/Node APIs change slightly Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -26,7 +26,7 @@ import pymaa as maa
|
||||
import time
|
||||
|
||||
x = maa.Gpio(8)
|
||||
x.dir(maa.MAA_GPIO_OUT)
|
||||
x.dir(maa.DIR_OUT)
|
||||
|
||||
while True:
|
||||
x.write(1)
|
||||
|
||||
Reference in New Issue
Block a user