[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] printf - low level connection?
From: |
Jim Davis |
Subject: |
RE: [avr-gcc-list] printf - low level connection? |
Date: |
Tue, 1 Mar 2005 15:17:56 -0800 |
Eric,
Im still confused. I see from the library code that printf calls vfprintf
which in the
end sends characters to stdout via calls to putc. How do I link this to the
driver code
as shown in the manual?
int uart_putchar(char c)
{
if (c == '\n')
uart_putchar('\r');
loop_until_bit_is_set(UCSRA, UDRE);
UDR = c;
return 0;
}
Please dont assume I know anything. I know this isnt suppose to be too
difficult.
Thanks
Jim
- RE: [avr-gcc-list] printf - low level connection?,
Jim Davis <=