in reply to Re: Cannot write to, or read from, the SerialPort
in thread Cannot write to, or read from, the SerialPort
Thus, the need for the commented out Lines of Code, of the unwanted Lines. I was trying any Driver I thought may work.my $port = Device::SerialPort->new("/dev/cu.usbserial"); my $port = Device::SerialPort->new("/dev/tty.usbserial"); my $port = Device::SerialPort->new("/dev/ttys0"); my $port = Device::SerialPort->new("/dev/ttys1");
... was not in some of the Example Code. Thus, I tried my Perl Code with / without 'port->write_settings' used.$port->write_settings || undef $port;
|
|---|