RoyceyBaby
IS-IT--Management
- Mar 23, 2001
- 22
Hi everybody,
I am reading data from the serial port on my linux machine, I believe I am getting CR/LF for new lines.
My code will treat this as 2 new lines. Is there a way in which I can distinguish between a CR and a LF.
Many thanks,
Royce
I am reading data from the serial port on my linux machine, I believe I am getting CR/LF for new lines.
My code will treat this as 2 new lines. Is there a way in which I can distinguish between a CR and a LF.
Many thanks,
Royce