swig pm3_device -> pm3

This commit is contained in:
Philippe Teuwen 2020-06-14 21:56:02 +02:00
parent d59630183e
commit 05ba6a73f8
11 changed files with 164 additions and 164 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3
import pm3
p=pm3.device("/dev/ttyACM0")
p=pm3.pm3("/dev/ttyACM0")
p.console("hw status")
print("Device:", p.name)