EA KIT160-6LWTP ELECTRONIC ASSEMBLY, EA KIT160-6LWTP Datasheet - Page 10

no-image

EA KIT160-6LWTP

Manufacturer Part Number
EA KIT160-6LWTP
Description
LCD Graphic Display Modules & Accessories Blue/White Contrast RS-232 Snap-In Kit
Manufacturer
ELECTRONIC ASSEMBLY
Datasheet

Specifications of EA KIT160-6LWTP

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
EA KIT160-6
PARAMETERS
The graphics kit can be programmed by means of various integrated commands. Each command
begins with ESC followed by one or two command letters and then parameters. All the commands and
their parameters, such as coordinates and other transfer values, are always expected as bytes. No
separating characters, such spaces or commas, must be used between them. The commands require
no final byte such as a carriage return (except for the string $00).
A..Z, L/R/O/U .................................... All commands are transferred as ASCII characters.
x1, x2, y1, y2 .................................... Coordinates are transferred with 1 byte.
ESC .................................................. 1 byte: 27(dec.) = $1B
n1,n2,no,sv,ev,value,pat,ret,
frm,data ........................................... Numerical values are transferred with 1 byte.
PROGRAMMING EXAMPLE
The following table shows an example in which the string "Test" is output left justified at coordinate 7,3.
PATTERN
A pattern type (pat = 0..7) can be set as a parameter with some commands. In this way, rectangular areas,
bar graphs and even texts can be linked to different patterns and displayed.
The following fill patterns are available:
10
Example
In ASCII
In hex
In decimal
For Turbo Pascal write(aux, chr(27), 'Z', 'L', chr(7), chr(3), 'Test', chr(0));
For C
For Q Basic
White
pat=0
pat=1
Black
fprintf(stdaux, "\x1BZL%c%c%s\x00", 7, 3, "Test");
OPEN "COM1:9600,N,8,1,BIN" FOR RANDOM AS #1
PRINT #1,CHR$(27)+"ZL"+CHR$(7)+CHR$(3)+"Test"+CHR$(0)
$1B
ESC
27
25% gray
pat=2
$5A
90
Z
$4C
76
L
Example: G= 71 (dec.) = $47 initiates the straight-line
command.
Example: x1= 10 (dec.) = $0A
Example: n1=15(dec.) = $0F
50% gray
pat=3
$07
BEL
7
Codes to be output
75% gray
pat=4
$03
ETX
3
$54
84
T
45° right
pat=5
$65
101
e
45° left
$73
115
pat=6
s
$74
116
t
45° cross
pat=7
$00
NUL
0

Related parts for EA KIT160-6LWTP