We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 523693e commit ceeacb0Copy full SHA for ceeacb0
2 files changed
examples/hp6632b_serial.py
@@ -9,11 +9,11 @@
9
10
if __name__ == "__main__":
11
if len(sys.argv) < 2:
12
- print("run with python -i hp6632b.py /dev/ttyUSB0")
+ print(f"run with python -i {__file__} /dev/ttyUSB0")
13
sys.exit(1)
14
# Then put to interactive mode
15
os.environ["PYTHONINSPECT"] = "1"
16
- aiodev = hp6632b.rs232(sys.argv[1], rtscts=True)
+ aiodev = hp6632b.rs232(sys.argv[1], rtscts=True, baudrate=9600)
17
dev = AIOWrapper(aiodev)
18
19
atexit.register(dev.quit)
examples/prologix_usb.py
@@ -10,7 +10,7 @@
0 commit comments