|
Re: clear printf box?
Um...
int i;
for (i = 0; i < 100; i++) printf("\n");
I don't think there's any other way. IFI Loader just reads bytes from the serial port and prints them out as ascii characters.
Careful though, the code I posted might delay the program too much and the master may choke due to lack of communication. It's not really a good idea to put loops in your code. You could put in multiple '\n's, but make sure you don't go over the max printf buffer length.
Last edited by Jay Lundy : 05-02-2004 at 16:05.
|