7 appendix: command summary, 1 general, 2 issuing commands – Matrix Orbital GLC24064 User Manual

Page 34

Advertising
background image

6.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.

6.1.12 Read Serial Number (254 53)

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

previously stored.

6.1.13 Read Version Number (254 54)

This command will return the firmware version number of the display. It will return a 1-byte hex value.

7 Appendix: Command Summary

7.1 General

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

Text display

Graphics display

The display file system

Miscellaneous operating parameters

7.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;

PRINT#1,chr$(254);chr$(88)

Matrix Orbital

GLC24064

30

Advertising