I have never understood why I get "Port is already open". It happens even after a reboot and I always have to close the port before I open it.
Edit:
Found this:
Edit:
Found this:
So I have just tested it and the ports are indeed already open so the ser.open() is unneccessary.I've solved my issue. Apparently newer version of pySerial opens port in constructor, and I was calling "open" method after constructor
Statistics: Posted by jimseng — Sun Feb 23, 2025 12:59 pm