Re: serCgetc() Dropping Line Feed Characters?

[email protected]
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <[email protected]>
False alarm. I discovered that I had some timing issues and was not reading the data in correctly.
Dan

--- In [email protected], dan.liebster@... wrote:
>
> I am a bit puzzled.  Using a logic analyzser, I can see on the Rx pin that there is '\r\n>'  in other words "carriage return", "linefeed", ">".
> 
> When I read the serial port as follows:
> 
> 
>    c = serCgetc();
>    while(c  != -1)
>    {
>    	printf("[0x%X]",c);
> 	c = serCgetc();
>    }
> 
> All I get is:
> [0xD][0x3E]
> 
> Does serCgetc() ignore line feeds?  Am I missing something here?
> 
> Thanks,
> Dan
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.