Datasheet

EA uniTFT Vorufig
COMMANDS
COMMAND OVERVIEW
The module is controlled by a series of graphic commands. They allow the creation of a screen as a macro as
well as via the serial interfaces. The following tables explain each command with the necessary and optional para-
meters.
TERMINAL
Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are
given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that
may contribute towards changing parameters can only be used if the corresponding parameters have already previouslybeen defined. Some com-
mands allow for entering several object IDs. Should these objects be in numerical sequence, the range may be specified with the - sign, e.g. 1-5, instead
of 1,2,3,4,5.
Designition Command code Description
Define window and font #YDW PosX(old Pos), PosY(old Pos), Anchor
(7), Columns(scrW()/Font width),
Rows(scrH()/Font height), Font-nr(2)
Defines the terminal window through the
font Font No.(1=8x8;2=8x16), number of
columns Columns, number of rows Rows,
position PosX, PosY and anchor Anchor.
After performing the reset, the position in
the lower left corner is (0,0), the anchor
stands at 7. Should the position not be ad-
ditionally specified when the window is re-
defined, the latter is retained.
Beispiel siehe S. 121
Set colour #YDC Text-RGB, Text-Opacity(100), Back-
ground-RGB(0x00000000), Back-
ground-Opacity(0)
Defines the colour of the terminal window in
regard to colour and transparency of text
Text RGB (e.g. $FF0000 for red Text Opa-
city and background Background RGB,
Background Opacity.
Beispiel siehe S. 121
Terminal level #YDL Layer Select the terminal layer, Select the ter-
minal layer, Layer (0= Behind; 1= In front)
(0= Behind; 1= In front)
Terminal on/off #YDO On/Off, Visibility (=On/Off) The parameter On/Off(0=Off; 1=On) deter-
mines whether the terminal window is swit-
ched on or off. In the switched-on state, the
output is saved, however may be hidden
through Visibility(0= Invisible; 1= Visible),
as well as made visible again, if required.
Cursors blink on/off #YCB Cursor Determine the blinking of the cursor. Cur-
sor 0=off; 1=on
Position cursor #YCP Column, Row(keine Änderng) Positions the cursor of the terminal window
based on the column Column, and row
Row.
Save cursor position #YCS Speichert die aktuelle Cursorposition.
Restore cursor position #YCR Restores the cursor position saved.
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 45