Datasheet
EA eDIPTFT43-A
Page 14
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
EA eDIPTFT43-A: Bitmap / Animation commands
after
reset
Command Codes Remarks
Bitmap image commands
Set bitmap colors
ESC
F U fg bg painting color for monchrome bitmaps fg=foreground color; bg=background color 1,8
Image zoom factor
ESC
U
Z n1 n2 n1 = X-zoom factor (1x to 8x); n2 = Y-zoom factor (1x to 8x) 1,1
Image angle W n1 output angle of the image: n1=0: 0°; n1=1: 90°; n1=2: 180°; n1=3: 270° 0
Mirror Image X n1 n1=0: normal display; n1=1: the image is mirrored horizontally 0
Transparency for
color bitmaps
T n1
n1=0: no transparency; show picture with all colors rectangular
n1=1: color of the first dot at top left side will be defined as transparent (like a mask)
n1=2: if defined - use transparent color from bitmap-file (.GIF .TGA .G16)
n1=3: replace transparent color from bitmap-file with actually background color
2
Load internal image
ESC
U
I xx1 yy1 nr Load internal image with the no (0 to 255) from the data flash memory to xx1,yy1
Load image L xx1 yy1 G16 data ... Load an image to xx1,yy1; see image structure (G16 format) for image data
RLE compression
ESC
U R the next hardcopy ('ESC U H xx1,yy1,xx2,yy2) is send with RLE compression (since V1.5)
Send hardcopy
ESC
U H xx1 yy1 xx2 yy2 After this command, the image extract is sent (to sendbuffer) in G16 format
Animation image commands
Set animation colors
ESC
F W fg bg color for monchrome animation images fg=foreground color; bg=background color 1,8
Animation zoom factor
ESC
W
Z n1 n2 n1 = X-zoom factor (1x to 8x); n2 = Y-zoom factor (1x to 8x) 1,1
Animation angle W n1 output angle of the animation image n1=0: 0°; n1=1: 90°; n1=2: 180°; n1=3: 270° 0
Mirror animation X n1 n1=0: normal display; n1=1: the animation image is mirrored horizontally 0
Transparency for
color animation
T n1
n1=0: no transparency; show animation with all colors rectangular
n1=1: color of the first dot at top left side will be defined as transparent (like a mask)
n1=2: if defined - use transparent color from animation-file (.GIF .G16)
n1=3: replace transparent color from animation-file with actually background color
2
Load single image
ESC
W I xx1 yy1 n1 n2 Load from animation n1=0..255 the single image n2 to xx1,yy1
Define animationprocess
ESC
W D no xx1 yy1 n2 type time
Define an animationprocess no=1..4 at position xx1,yy1 (=left top edge) with animation image
n2=0..255.
type: 1=run once; 2=cyclically; 3=pingpong; 4=once backwards; 5=cyclic backwards
6=pingpong backwards; 7=manually (use command ESC W N|P|F|M)
time: 0=stop; 1..254=time in in 1/10 sec; 255=use time from animation-file
Change animation type
ESC
W
Y no type Assign a new type=1..7 to animationprocess no=1..4
Change animation time
C no time Assign a new time=0..255 to animationprocess no=1..4
Next animation image N no Show the next image from animationprocess no=1..4
Previous animation image
P no Show the previous image from animationprocess no=1..4
Show animation image F no n2 Show image n2 from animationprocess no=1..4
Run to animation image
M no n2 Run animationprocess no=1..4 from actually image to image n2
Stop animationprocess L no Stop animationprocess no=1..4 and clear last image with actually background color










