EAIC202-PGH ELECTRONIC ASSEMBLY, EAIC202-PGH Datasheet - Page 6
![no-image](/images/no-image-200.jpg)
EAIC202-PGH
Manufacturer Part Number
EAIC202-PGH
Description
Display Modules & Development Tools Graphic Con RS-232 128x64 for HD61202
Manufacturer
ELECTRONIC ASSEMBLY
Datasheet
1.EAIC202-PGH.pdf
(16 pages)
Specifications of EAIC202-PGH
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
EA IC202
OVERVIEW OF ALL GRAPHIC FUNCTIONS
Our High-Level Graphics Controller can be programmend by a number of built in commands.
Each command starts with a command letter followed by a number of parameters.
Command
Text mode
Set font
Set ASCII characters
Set character string
Define character
Graphics mode
Set point
Draw straight line
Continue straight line
Draw rectangle
Draw round corner
Area with fill pattern
Delete display
Invert display
Fill display
Delete area
Invert area
Fill area
Draw box
Draw round box
Draw bar graph
Upload picture area
Define bar graph
Display control
Select / Deselect
graphics lcd
Power Save Mode
Write I/O port
Hard copy
Read I/O port
Query display type
6
W
G
R
N
M
D
D
D
O
U
C
Q
H
T
F
A
Z
E
V
P
S
B
B
K
Y
X
L
J
?
I
n1
n1
n1
n1
n1
n1
n1
x1
x1
x1
x1
x1
x1
x1
x1
x1
x1
x1
x1
x1
x1
x1
R
O
U
nr
R
O
U
D
S
S
L
L
L
I
valu
n1
n2
y1
y1
y1
y1
y1
y1
y1
y1
y1
y1
y1
y1
y1
y1
n1
n2
y1
nr
Graphics commands with overlay mode
ptn
n3
n1
x2
x2
x2
x2
x2
x2
x2
x2
x2
x1
x2
...
data ...
Command table EA IC202
Control / definition commands
data ...
Functions for outputting text
NUL
y2
y2
y2
y2
Other graphics commands
y2
y2
y2
y2
y2
y1
y2
ptn Draw area with pattern ptn (0..7); x1,y1,x2,y2 = corner points
ptn Draw a rectangle with fill pattern ptn (0..7); (always replace)
ptn Draw a round corner with fill pattern ptn (0..7); (always replace)
x2
Send commands
Remarks
R/L/O/U: Write character string (R)ight, (L)eft, (O)ben (up), (U)nten
(down); n1: overlay combination mode for text output 1=set; 2=delete;
3=inverse; 4=replace; 5=inverse replace; ptn: use pattern no. 0..7;
Set font no. n1; n1=1:4x6 font; n1=2:6x8 font; n2=3:8x16 font
n2+n3=zoom factor (1..4); n2=X factor; n3=Y factor;
The character n1 will be set at coordinate x1,y1. (Reference top left)
Output character string (...) to x1,y1; character ´NUL´ ($00)=end
n1=character no.; data =number of bytes dep. on current font
n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace;
Set one pixel at coordinates x1, y1
Draw straight line from x1,y1 to x2,y2
Draw a straight line from last end point to x1, y1
Draw a rectangle; x1,y1,x2,y2 = opposite corner points
Draw a rectangle with round corners; x1,y1,x2,y2 = corner points
Delete entire contents of display (set to white);
Invert entire contents of display;
Fill entire contents of display; (set to black);
Delete an area; x1,y1,x2,y2 = opposite corner points
Invert an area; x1,y1,x2,y2 = opposite corner points
Fill an area; x1,y1,x2,y2 = opposite corner points
Set the bar graph with the ´nr´ (1..8) to the new user ´value'
Load a picture area to x1,y1; see picture structure for picture data
n1=0: display off (entire contents unchanged) n1=1: display on
Activate display with address n1 (n1=0..3; n1=255: all)
Deactivate display with address n1 (n1=0..3; n1=255: all)
n1=1: Power Save for controller; RTS->high
n1=2: Power Save for controller and display; RTS->high, LCDON->low
n1=0..7: reset I/O port n1 (n2=0); set (n2=1); invert (n2=2) n1=8: Set all 8
I/O ports in accordance with n2 (=8 bit binary value)
An area is requested as a picture. The width and height are sent in pixels
first of all, followed by the actual picture data, via RS232.
n1=0..7: load I/O port <n1> (1=H level=5V, 0=L level=0V) n1=8: load all 8
I/O ports I/O0..I/O7 as 8-bit binary value
This command is used to query the display type. 3 bytes are sent back:
128 64 V (128x64 dots, vertical picture)
y2
aw
ew
ptn
Define bar graph to L(eft), R(ight), O(up), U(down)
with the ´nr´ (1..8). x1,y1,x2,y2 form the rectangle
enclosing the bar graph. aw, ew are the values for
0% and 100%. ptn=pattern (0..7).