Matrix Orbital LCD/VFD Legacy User Manual
Page 5
LCD2021 Command Set
Write Text
This section of the manual allows the user to send commands to the LCD to alter the appearance or behavior of the display.
To utilize a command, the user must send a command prefix followed by the command in the format described in this
portion of the manual. Any characters sent without a command prefix will be interpreted as text and will be displayed on
the module at the current cursor position. The current cursor position will be incremented for each character received.
Please note that unless line wrap is turned on, the text will follow the memory map of the module.
The command set discusses in detail what the LCD's capabilities of and how to execute each command. The basic format of
all the commands listed in this segment that do not require parameters is:
For commands that do require parameters however the format is as follows:
Auto Line Wrap On
ASCII 'C', Hex 43, Decimal 67
Syntax 0xFE 0x43
This command enables the automatic line wrap function. Transmitted characters which overrun the width of the display
will automatically wrap to the next line. The bottom line wraps to line 1 of the display. To carry out this command the user
must send a command prefix followed the character 'C'.
Auto Line Wrap Off
ASCII 'D', Hex 44, Decimal 68
Syntax 0xFE 0x44
This command disables the automatic line wrapping function. To turn off the auto line wrapping, send a command prefix
followed by the character 'D'.
Auto Scroll On
ASCII 'Q', Hex 51, Decimal 81
Syntax 0xFE 0x51
To turn the automatic line scrolling on, send a command prefix followed by the character 'Q'. In combination with the
“Auto Line Wrap” command the text will automatically wrap and scroll up.
Note: “Auto Line Wrap” must be enabled for “Auto Scroll” to work properly.
Auto Scroll Off
ASCII 'R', Hex 52, Decimal 82
Syntax 0xFE 0x82
To turn the automatic line scrolling off, send a command prefix followed by the character 'R'.
Backlight On
ASCII 'B', Hex 42, Decimal 66
Syntax 0xFE 0x42
To turn the backlight on, send a command prefix followed by the character 'B' as well as the number of minutes for the
backlight to be activated. If
for
5