Terminal emulator codes

;) hey everyone !!

right, in the picaxe manual it says that when you are using serout from a chip (a picaxe 28X in this case) and would like a new line to use the following code:

serout 6,N2400,(10,13)

now when i run the program on the chip and bring up the terminal emulator to display it this code just puts 2 bold lines and that is all....:confused:

firstly, does anyone know the code for a new line?

secondly, is there anyother codes that would come in use? like maybe a web page with them all on?

thanks for any help

alex :rolleyes:
 

hippy

Technical Support
Staff member
And using the pre-defined named constants "serout 6,N2400,(CR,LF)" means you don't have to worry about what the values are, less chance of getting it wrong, and other people looking at the code would likely make a good guess at what CR,LF means.

There are a number of other useful codes ( TAB, 9, particularly ) and other codes making up 'escape sequences', but they are only useful if the software at the receiving / displaying end does something with them. The Terminal display in the Programming Editor just supports CR and LF, maybe TAB.
 
Top