Greetings Fellow Monks,
I have worked on Win32::SerialPort for more than 2 months. But I'm having some trouble.
When I get data from FH(The COM1 Handle) with $binData = getc FH; or sysread(FH, $binData, 1);, I cannot get right data. "0A" always chenged into "0D0A". Then I get more data than sent by COM. How can I get the right data?
If anyone could provide some advice would be greatly appreciated.