beautypg.com

3 changing the baud rate – Matrix Orbital LK402-25 Legacy User Manual

Page 17

background image

Description

This command sets the I

2

C write address of the module between 0x00

and 0xFF. The I

2

C write address must be an even number and the read

address is automatically set to one higher. For example if the I

2

C write

address is set to 0x50, then the read address is 0x51.

NOTE

The change in address is immediate.

Remembered

Always

Default

0x50

4.3

Changing the Baud Rate

Syntax

Hexadecimal

0xFE 0x39 [speed]

Decimal

254 57 [speed]

ASCII

254 “9” [speed]

Parameters

Parameter

Length

Description

speed

1

Hex value corresponding to a baud
rate.

Description

This command sets the RS-232 port to the specified [speed]. The change
takes place immediately. [speed] is a single byte specifying the desired
port speed. Valid speeds are shown in the table below. The display
module can be manually reset to 19,200 baud in the event of an error
during transmission, including transmitting a value not listed below, by
setting the manual override jumper during power up. However, it should
be noted that this command will be ignored until the manual override
jumper is removed again.

Hex Value

Baud Rate

53

1200

29

2400

CF

4800

67

9600

33

19200

22

28800

19

38400

10

57600

8

115200

NOTE

This command is not available in I

2

C mode.

Remembered

Always

Default

19,200 bps

Matrix Orbital

LK402-25

13