9 keypad, 1 introduction, 2 gpo_cmd_gpotoggle() – Matrix Orbital PK162-12 User Manual

Page 40: 3 auto transmit key presses on

Advertising
background image

9 Keypad

9.1 Introduction

The PK162-12 supports up to a 12 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 PK162-12 also allows for auto-

repeating key presses, and remapping of all keypad character codes.

9.2 gpo_CMD_GPOtoggle()

9.2.1 Meta

Short

Toggle Keypad/GPO mode

Remember

Yes

9.2.2 Parameters

Mode

1

0: Keypad, 1: GPO

9.2.3 Description

The 162-12 uses the same port for keypad and GPO. This command will allow you to toggle the display

between GPO or Keypad mode. To use the GPO’s send cmd 254 / 37 / 1. To go to keypad mode, cmd 254 /
37 / 0 must be sent.

9.3 Auto Transmit Key Presses On

Syntax

Hexadecimal

0xFE 0x41

Decimal

254 65

ASCII

254 “A”

Description

In this mode, all key presses are sent immediately to the host system
without the use of the poll keypad command. This is the default mode
on power up.

Remembered

Yes

Matrix Orbital

PK162-12

36

Advertising