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

@ -3,4 +3,4 @@
import pm3
p=pm3.device("/dev/ttyACM0")
p.console("hw status")
print("Device:", p.get_name())
print("Device:", p.name)