linux - Monitor already used serial port using python -
how monitor serial port used or not? using pyserial application , isopen() not working script when run in ubuntu.
if (ser.isopen()): ser.write(data_string) else: print("port in use")
i never got "port in use" . trying execute script parallel in 2 different terminals still no else part execution there.
Comments
Post a Comment