buydisplay.com
EastRising
4.2.4 Picture-Number Display Command
Number display is a normal function of TFT panel. It can be established in the way of picture or
font. Imported from PC. The user can display a number in the form of picture on the TFT panel
via this command by using a monochrome image. For example, if you want to display a
number on the application, but there is no suitable size in the font library, then the user can
build a set of 0~9 digital pictures, and then use the command to call these numbers (pictures)
where they want to be displayed, and the foreground and background of the numbers can be
specified by the command parameters.
Table 4-6: Picture-number Command
Command
Function
Code No.
Command
Parameter
Command Description
Setup the
Picture-numbe
r
(Customize-1)
Display
90h
#nn:
PT(2), X(2), Y(2), Dir(1),
Color-F(1), Color-B(1),
EN-B(1)
Display picture-number at (X, Y)
position, the foreground color is
Color-F, the background color is
Color-B, the display direction is Dir (0:
left, 1: right), where PT stands for ID of
picture-number, EN-B=0 means the
background is transparent, and
EN-B=1 means the remove the
background (transparent).
Setup the
Picture-numbe
r
(Customize-2)
Display
91h
#nn:
CPT(2), X(2), Y(2), Dir(1),
EN-B(1)
Display picture-number at (X, Y)
position, the display direction is Dir (0:
left, 1: right), where CPT stands for ID
of picture-number, EN-B=0 means the
background is transparent, and
EN-B=1 means the remove the
background (transparent).
When using picture-number (customized), the size of the number displayed on the TFT panel
depends on the picture resolution, and the picture must be monochrome when designing.
After designing, user can use upper PC software or graphic integration software to import the
picture and generate a Bin document, and then written into the SPI Flash by the programmer.
With the BTE function of the ER-TFT028A2-4-5465, user can set the picture-numbers with
foreground, background, or background transparency in different colors by the above
commands. The following are two groups of picture-number of different sizes, each of which
represents a picture file:
Figure 4-8A: Custom Picture-Number