You can get the Arduino to output data over the serial line or the USB. If you write a program on a PC to receive that data you can display it any way you want. I don't think you are going to find any off-the-peg programs that display the data in the way you want because of course they will not know how you want to format your data. I could be wrong, perhaps there are some that have a configurable layout. If they exist though then they will probably require your Arduino sketch to output data in a specific format that they recognise.
Some terminal programs respond to \n newline, \r carriage return, and \f new page.
With these you can make a table of data. The Serial Monitor only seems to respond to new line.
I guess I could use the Serial software to output to pins 0 and 1 and then get a TTL to RS232 converter and use a terminal program that is available fo the PC but this is a lot of work.
barryjo:
Are there any terminal programs to replace the Serial Monitor that would support controls like "clear screen", and carriage return without line feed?
That are features that are all present in the Serial Monitor of the IDE.
I would like to have a "static" screen that could display the values of various parameters without the scrolling in sort of a table format.
And you want those values then to be able to change without the screen scrolling, you mean?
Then you have to start playing with good old ANSI and an ANSI terminal (remember BBS systems?). That protocol supports cursor movements, but it requires some serious work on your side. Or the (even older?) VT100 indeed.
barryjo:
Are there any terminal programs to replace the Serial Monitor that would support controls like "clear screen", and carriage return without line feed?
I would like to have a "static" screen that could display the values of various parameters without the scrolling in sort of a table format.
Then you probably want to use an Arduino VT100 library for serial printing and a serial terminal that does a VT100 emulation.
barryjo:
Did someone say that CR. LF and clear screen are in theSerial Monitor??
Yes, on the bottom of the screen is a button to clear, another to set what you want to add to inputs: no line ending, \n, \r, or both. Of course the \n also works in outputs (see the difference between Serial.print() and Serial.println()).
For me that command prints "hello" on the Serial monitor. Works as expected.
Press the "Clear output" button and the screen clears. Works as expected.
Enter stuff in the bar on top, select the line ending you want, and read those characters in the sketch. Works as expected including the \n, \r or both.
Now I don't know why you don't see anything (as implied by "nothing works"). Or maybe your expectations are different.
Question 1. It seems that every time Istart it I have to reconfigure the settings. Is there a way for Tera Term to save the settings?
Issue 2. If TeraTerm is running,I cannot compile a sketch and have it upload. It seems that the Arduino IDE doesn't work with Tera Term. ???
Question 3. What would I print so that the word hello would stay at the top of the page, or at least not scroll. I am not sure I am using the escape characters correctly.
Should this work Serial.print("hello" + '\r')?
I think \r is return 9without a line feed) and that \n is a new line.
How do you insert control characters into a string?
For example I would like the following command to print "hello" , do a carriage return and not do a line feed.