beautypg.com

8 appendix: command summary, 1 general, 2 issuing commands – Matrix Orbital GLK24064-25 Legacy User Manual

Page 36

background image

7.1.11 Set Serial Number (254 52 [byte1] [byte2]

Modules may be delivered with the serial number blank. In this case the user may set the desired 2 byte

serial number using this

one time only command.

Upon the execution of this command, the module will echo these two bytes back over the RS-232 inter-

face. The serial number may be set only once. Any future attempt to execute this command will result in no

change and the module will return to the originally set serial number.

7.1.12 Read Serial Number (254 53)

This command will return, over the RS-232 interface, the serial number of the module as it was previ-

ously stored.

7.1.13 Read Version Number 254 54)

This command will return the firmware version number of the display.

8 Appendix: Command Summary

8.1 General

The operation of the display is controlled by a simple and consistent command set. Commands control;

• Text display
• Graphics display
• Keypad interface
• The display file system
• Miscellaneous operating parameters

This chapter includes summary tables of all commands.

8.2 Issuing Commands

Commands are issued to the display by the micro-controller. In a test setup, commands can be issued

to the display by means of a BASIC program using the chr$( ) function. In the tables below, we’ve shown

commands in hex, ASCII and decimal form. All commands begin with the prefix character 0xFE (254

decimal). These commands are issued on the serial communications link (I

2

C or RS-232) at the currently

defined baud rate.

For example (using BASIC in a test setup), the user could issue the command to clear the screen on the

display by including the line:

CDFEHG£I¢PF(QR3H ¢S1TVUW2£'XFYa`R3$ £SbTcUWdd)Y

Matrix Orbital

GLK24064-25

32