Better SWIG integration: autogen func & attributes

This commit is contained in:
slurdge authored and Philippe Teuwen committed 2020-06-14 21:35:23 +02:00
1 parent 756b624668
commit 538ee4dabb
12 files changed
+887 -1037

No files matched your search

+2 -2
View File
@@ -2,5 +2,5 @@
local pm3 = require("pm3")
p=pm3.device("/dev/ttyACM0")
--p.console("hw status") ??
p.console(p, "hw status")
p:console("hw status")
print(p.name)