|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
clear printf box?
is there any way to clear the printf box in ifi loader(with code)?
|
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||||
|
|||||
|
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. |
|
#4
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 05-02-2004 at 16:57. |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||
|
|||
|
Re: clear printf box?
thanks
![]() going to try both of those out tonight and see how it goes |
|
#7
|
|||||
|
|||||
|
Re: clear printf box?
My solution: Write my own!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| box grabbing | matt111 | 3D Animation and Competition | 3 | 27-01-2003 23:08 |
| project box | archiver | 2000 | 2 | 23-06-2002 23:01 |
| What box can we use for our custom OI interface | DanBlock | Technical Discussion | 1 | 15-02-2002 17:09 |
| Gray box limitations | Tim Skloss | Technical Discussion | 1 | 23-01-2002 07:38 |
| Modular Control box assembly | Andrew Wyatt | Technical Discussion | 4 | 29-11-2001 15:44 |