Better SWIG integration: autogen func & attributes

This commit is contained in:
slurdge 2020-06-14 11:32:37 +02:00 committed by Philippe Teuwen
parent 756b624668
commit 538ee4dabb
12 changed files with 887 additions and 1037 deletions

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)