/dev/ttyS0 ?
>
>
>Che occhio non l'avevo notato.
Grazie era proprio banale ma ...
Adesso mi da un errore per me incomprensbile:
(in cleanup) can't call method "setcflag" on an undefined value at
/usr/lib/perl5/device/SerialPort.pm
line 482 during global destruction
Grazie
Giuseppe
--
To
> >> use Device::SerialPort;
> >> $Port = new Device::SerialPort("/dev/ttys0");
> /dev/ttyS0 ?
>
>
Che occhio non l'avevo notato.
Be direi che รจ una buona ragione per non funzionare.
Walter
___
Nuovo Yahoo
Walter Valenti ha scritto lo scorso 29/03/2005 13.26:
--- [EMAIL PROTECTED] wrote:
Vorrei gestire la seriale in perl:
#!/usr/bin/perl -w
use Device::SerialPort;
$Port = new Device::SerialPort("/dev/ttys0");
/dev/ttyS0 ?
--
To UNSUBSCRIBE, email to [EMAIL PROTE
--- [EMAIL PROTECTED] wrote:
>
>
> Vorrei gestire la seriale in perl:
>
> #!/usr/bin/perl -w
>
> use Device::SerialPort;
> $Port = new Device::SerialPort("/dev/ttys0");
> $Port->baudrate(9600);
> $Port->parity("none");
> $Port->databits(8);
> $Port->stopbits(1);
> $Port->handsh
4 matches
Mail list logo