I am working on a project where I have to write to an read from a serial port. I have written the following code, but I am getting the message "can\'t open the port" i