beautypg.com

5 changing the baud rate – Matrix Orbital GLK12232-25-SM User Manual

Page 22

background image

Syntax

Hexadecimal

0xFE 0x33 [adr]

Decimal

254 51 [adr]

ASCII

254 “3” [adr]

Parameters

Parameter

Length

Description

adr

1

The new I

2

C write address (0x00 -

0xFF).

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

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.

Matrix Orbital

GLK12232-25-SM

17