ASCII Mode Ver.2 (SW7-1:OFF, SW7-2:Any, SW7-3:Any)
It displays the characters as sent.
It can display 16 characters in 1 line. It scrolls 1 line when it received 17th character or
linefeed code (0x0D: \r ).
(example) URTH?TX =
‘
F
’
; TXWait();
URTH?TX =
‘
l
’
; TXWait();
・・・・・・・・・・
URTH?TX =
‘
T
’
; TXWait();
F l
e
x
R
a
y
T E
S
T
URTH?TX =
‘
\r
’
; TXWait();
URTH?TX =
‘
1
’
; TXWait();
T E
S
T
1
The position of the cursor can be specified by sending xy-coordinate right after
ESC code (0x1B).
ESC(0x1B) + xy
x: 0(0x30)
~
9(0x39),a(0x61), b, c, d, e, f(0x66)
y:
0(0x30),1(0x31)
(example)
printf(buf, “¥x1b00TEST¥x1ba1LCD”);
y
↓
0
T E
S
T
1
L
C D
X
→
0
1
2
3
4
5
6
7
8
9
a
b
c
d
e
f
- 14 -