|
From: | Joerg Wunsch |
Subject: | Re: [avr-gcc-list] printf_P + PSTR("\n\r") does not seem to work, however ("\r\n") is okay |
Date: | Thu, 12 Aug 2004 12:46:55 +0200 (MET DST) |
Bernard Fouché <address@hidden> wrote: > If I do printf_P(PSTR("\r\n")); everything is okay, however if I > switch it to "\n\r", I get no output. Did I miss something or is it > a bug? Perhaps a problem with your terminal emulator? printf() doesn't care the least about the characters in the format string, it simply passes everything that's not a format specification on to putc() which in turn will call your supplied output routine. -- J"org Wunsch Unix support engineer address@hidden http://www.interface-systems.de/~j/
[Prev in Thread] | Current Thread | [Next in Thread] |