Datasheet
EA eDIPTFT70-A
Page 14
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
EA eDIPTFT70-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 .PNG .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) will be send with RLE compression
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
EA eDIPTFT70: Clipboard commands after
reset
Command Codes Remarks
Clipboard commands (Buffer for display area)
Save display contents
ESC
C
B The entire content of the display is copied to the clipboard as an image area
Save area S xx1 yy1 xx2 yy2 The image area from xx1, yy1 to xx2, yy2 is copied to the clipboard
Restore area
C
R The image area on the clipboard is copied back to the display
empty
Copy area
K xx1 yy1 The image area in the clipboard is copied back to xx1, yy1 of the display
Load bitmap to clipboard
Load image to clipboard
ESC
C
L
xx1 yy1 G16 data ... Load the image data (G16-format) into clipboard to xx1, yy1
Internal image to clipboard I xx1 yy1 n1 Draw internal image from data-flash with n1=0..255 into clipboard to xx1, yy1
Animation sub image to
clipboard
F xx1 yy1 n1 n2
Draw internal animation sub image from data-flash with number n1=0..255, n2=framenumber into
clipboard to xx1, yy1
Clipboardimage autoupdate U n1
n1=0: Auto update OFF; n1=1: Auto update ON; after loading image into clipboard ('CL', 'CI, 'CF')
the content is copied to the screen
1
Extended clipboard layer usage
Copy to clipboard layer
ESC
C
P xx1 yy1 xx2 yy2 xx3 yy3 Area from xx1,yy1 to xx2,yy2 on the screen is copied into the clipboard layer to xx3,yy3
Copy from clipboard layer C xx1 yy1 xx2 yy2 xx3 yy3 Clipboard area from xx1,yy1 to xx2,yy2 is copied into the screen to xx3,yy3
Copy area on clipboard
layer
A xx1 yy1 xx2 yy2 xx3 yy3 The area from x1,y1 to x2,y2 on the clipboard layer is copied to new upper left corner x3,y3
Clipboard transparent color T n1 n1=0: no transparency; 1..32: transparent color for clipboard, only for 'ESC CC' 0
Animation through clipboard W n1 n2
n1=1..4: animation nr; n2=0: draw directly to screen, n2=1 first draw to clipboard layer and
then copy to screen
1-4
0