PySerial [Error 5] Access is Denied

前端 未结 5 2020
不思量自难忘°
不思量自难忘° 2021-01-05 08:40

I am trying to write a program in Python that will loop to keep checking the serial port (COM4) and print out a message when the character \"1\" is read from the serial port

5条回答
  •  佛祖请我去吃肉
    2021-01-05 08:49

    For me the solution didn't work but what worked was closing all the applications that were interacting with the given com port.

提交回复
热议问题