in reply to Using Device::SerialPort
The first thing to check when receiving junk over a serial port: is the baud rate correct? (Also databits, parity and stop bits, although that's almost always 8N1 nowadays.)
How do i know what is being read in $saw1/$saw2 is correct ?
What do you expect to receive?
If you want to see what's going over the wire, do you have some other way to monitor the serial port, like using a software or hardware device (even an oscilloscope)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Device::SerialPort
by hardy004 (Novice) on Feb 11, 2015 at 01:29 UTC | |
by Anonymous Monk on Feb 11, 2015 at 02:13 UTC | |
by hardy004 (Novice) on Feb 11, 2015 at 02:31 UTC | |
by dasgar (Priest) on Feb 11, 2015 at 05:57 UTC | |
by Anonymous Monk on Feb 11, 2015 at 14:00 UTC |