Forums

Re: Troubles with UART scanf - CROSSWORKS

Started by "zarko.nikolic" April 4, 2008
Thank you for your fast reply, but I still dont get it how to link
_getchar with UART.

I am experimenting with CROSSWORKS uart.c example for Keil MCB2140.

Could you be more specific.

--- In l..., "Paul Curtis" wrote:
>
> // Pseudocode:
>
> int __getchar(void)
> {
> if (end-of-file)
> return EOF;
> else
> {
> wait for a character to arrive...
> return that character...
> }
> }

An Engineer's Guide to the LPC2100 Series