ASCII control codes for the serial terminal. Solved.
ASCII control (escape) codes.
Where can I find a list of these codes? I did some googling, but it was a bit confusing.
For example, serial.Tx($0D) is for carriage return. I know I saw a list a few years ago, but can't seem to find it now.
Where can I find a list of these codes? I did some googling, but it was a bit confusing.
For example, serial.Tx($0D) is for carriage return. I know I saw a list a few years ago, but can't seem to find it now.
Comments
con { pst formatting } HOME = 1 CRSR_XY = 2 CRSR_LF = 3 CRSR_RT = 4 CRSR_UP = 5 CRSR_DN = 6 BELL = 7 BKSP = 8 TAB = 9 LF = 10 CLR_EOL = 11 CLR_DN = 12 CR = 13 CRSR_X = 14 CRSR_Y = 15 CLS = 16
Instead of:term.tx($0D)
you can use this [more obvious] version:term.tx(term#CR)