Content originally posted in LPCWare by CodeRedSupport on Tue Jul 31 00:20:28 MST 2012
Quote: guillaumeL
I'm currently working on LPC1769 using RED suite 4 with newlib + semihost options. I found the solution. I have added the function fflush(stdout) after each printf to display each string I want.
I suspect that you aren't terminating the string being printed with a newline then (the text to be displayed gets buffered).
ie use [FONT=Courier New][SIZE=2]printf ("Hello World\n");[/SIZE][/FONT] rather than [FONT=Courier New][SIZE=2]printf ("Hello World");[/SIZE][/FONT]
Regards,
CodeRedSupport