![]() |
clear printf box?
is there any way to clear the printf box in ifi loader(with code)?
|
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. |
Re: clear printf box?
Quote:
You could use another terminal emulator though. Hyperterminal supports several terminal emulation modes. You would just need to figure out the escape sequences needed to accomplish the formatting you want. If this is a route you would like to pursue, let us know, and I'm sure you will get lots of help. |
Re: clear printf box?
I ran through the entire ASCII control set without any luck affecting the terminal window other than carriage return.
I agree last year's was much more capable of setting up nice debug output displays. Try HyperTerminal. |
Re: clear printf box?
Our team uses Tera Term as a terminal program. After getting the baud rate set, and choosing the right COM port, it automatically clears the screen for each cycle. If you have any problems with the program, feel free to ask, and I'll get in depth into the settings we use.
|
Re: clear printf box?
thanks :)
going to try both of those out tonight and see how it goes |
Re: clear printf box?
My solution: Write my own!
|
| All times are GMT -5. The time now is 04:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi