Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Reading Arduino Serial data on C# application but port access denied?

When I connect my Arduino to my laptop and want to get serial data on my system, I get an exception about port access being denied. I am sure about the port number (COM4) and opening and closing ports. sometimes I reconnect the device it works.

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Try these out:

  • if your Serial monitor on Arduino is not opened, be sure to close it.

  • check the port in system management of your system to be sure about
    the port number again.

  • be sure about closing your application each time you want to test,
    because running an application will reserve the port and will not let
    other apps use it.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading