AMX Mini-LCD Transmitter TX-MLCD User Manual

Page 11

Advertising
background image

TX-MLCD Mini-LCD Transmitter

AXCESS Programming

7

A PUSH occurs in the program every time a button (key) is pressed.
Figure 4 shows the button assignments.

1

6

4

16

• •

• •

• •

5 10 15 20

Top Left =

= Bottom Right

Turning on channels 1 through 254 enables transmission (RF or IR) of
the respective radio code. The code example below transmits radio
code 128 when button 1 is pressed.

PUSH[SK, 1]

TO[SK, 128]

Use SEND_STRING to send characters to the LCD screen. Characters
will start at the current cursor position.

Special SEND_STRING escape sequences are included in the TX–
MLCD commands. When included within a SEND_STRING program
instruction, the following character combinations will be treated as
commands:

"2"

moves the cursor to home (line one, column one)

"9"

moves the cursor one position right

"10"

moves the cursor one position down (to next line)

"12"

, clears the screen and moves the cursor to home (line one,

column one)

"13"

moves the cursor to first of line (column one)

"17,<line number>,<column number>"

moves the cursor to the

specified line and column

When a button is pressed, the TX–MLCD unit powers-up and runs
through the DEFINE_START section. The DEFINE_START section is
the part of the program where the text for each of the screens is setup
and initialized.

With the text already initialized, the main part

(DEFINE_PROGRAM) of the program is shorter and simpler
allowing you to flip from one screen to another with a
SEND_STRING command.

Figure 4

Button assignments

Advertising