printf hyperterminal \n compatible?

steve

New member
Hi, I have an embedded device that sends data to hyperterminal out a uart port (9600baud) like this:
Code:
	printf("%d\t",value1);
	printf("%d\t",value2);		
	printf("%d\n",value3);
So basicaly I have three columns of data, then a carriage return.

Is there any chance that a LCD would know what to do here?
I was hoping for hyperterminal compatibility so I don't need separate code written. (Like, is \n recognized?)
I am looking at the 632 serial display.
Thanks!
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 

CF Tech

Administrator
The CFA-634 and CFA-632 do recognize carriage returns and linefeeds, but not tabs. So you would need to have some sort of option in your code if you wanted to use tabs.

If you formatted your data with spaces:
Code:
printf("\r\n%8d %8d %8d",value1,value2,value3);
I think it would work in both HT and on the display.
 
Top