beautypg.com

10 keypad, 4 set startup gpo state, 1 introduction – Matrix Orbital GLK12232-25-SM User Manual

Page 40

background image

Syntax

Hexadecimal

0xFE 0x57 [Num]

Decimal

254 87 [Num]

ASCII

254 “W” [Num]

Parameters

Parameter

Length

Description

Num

1

GPO number.

Description

This command turns ON general purpose output [num]. The standard
GPO’s on the GLK12232-25-SM output 20mA of current at 5V.

NOTE

ON means the output is pulled HIGH.

Remembered

Yes

9.4

Set Startup GPO state

Syntax

Hexadecimal

0xFE 0xC3 [Num] [state]

Decimal

254 195 [Num] [state]

Parameters

Parameter

Length

Description

Num

1

GPO number.

state

1

Startup state (0: Off, 1: On)

Description

This command will set the startup state for the GPO on the next power
up. A value of one will cause the GPO to be off on the next startup
while a value of one will cause the GPO to be on.

NOTE

This command does not affect the current state of the GPO.

Remembered

Always

10

Keypad

10.1

Introduction

The GLK12232-25-SM supports up to a 25 key, matrix style, keypad and may be configured to allow

key presses to be automatically transmitted via RS-232 or polled through I

2

C. The GLK12232-25-SM also

allows for auto-repeating key presses, and remapping of all keypad character codes.

The connector is not keyed so the keypad will probably plug in either of two ways. The display will

not be damaged by reversing the connector. However, the keypad will generate a different ASCII character
mapping for each position. If the connector has fewer than 10 pins it should be centered on the display
connector. The keypad is scanned whenever a key is pressed;there is no continuous key scan. This means
that key presses are dealt with immediately without any appreciable latency. This also prevents electrical
noise which is often caused by continuous key scans.

Matrix Orbital

GLK12232-25-SM

35