I build a facial recognition software in python, and I want to send x and y cords of my face to my arduino uno through the Serial port(COM3 in my case).
Every time I start the program I get an error that access was denied. The error looks like this:
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM3': PermissionError(13, 'Access is denied.', None, 5)
So, can anyone help?
Every time I start the program I get an error that access was denied. The error looks like this:
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM3': PermissionError(13, 'Access is denied.', None, 5)
So, can anyone help?