![]() |
Clear Screen
I need to know how to clear the termianl window screen from within MPLAB. ex. printf("blahblahblah\r\n") instead of \r\n i need something to clear the screen, if there is nothing like this please tell me a method of doing this.
|
Re: Clear Screen
There is no direct command or special ASCII the IFI Terminal Window will recognize (or at least not the last time I tried the entire ASCII string set), but you can simply send a whole bunch of carriage returns, e.g.,
printf("/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r"); |
Re: Clear Screen
You could write your own terminal or use another free one that does have a character that will clear the screen
|
Re: Clear Screen
Quote:
-Kevin |
Re: Clear Screen
system("cls");
or... system("clear"); |
Re: Clear Screen
If you choose Adam 3A terminal emulation and then find a terminal program that supports it, you can have a complete way to control where text is put on the screen.
|
Re: Clear Screen
Quote:
|
| All times are GMT -5. The time now is 01:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi