beautypg.com

4 keypad interface, 1 general, 2 connections – Matrix Orbital PK162-12 User Manual

Page 20

background image

3.4.12 Cursor Right (254 77)

Moves the cursor one position to the right but does not erase any character that may be in that position.

Note that this command moves the text insertion point even if the cursor is turned off.

4 Keypad Interface

This chapter describes the keypad interface and associated commands in detail.

4.1 General

The display keypad interface processes the keypad row / column matrix into a serial (RS-232 or I

2

C)

data byte stream. Aside from this processing, the keypad has no effect on the display. To send keystrokes

to the display, they must be routed through the controller. Whenever a columns and a row pin are shorted

together, a keystroke will be generated and either held in the buffer (I

2

C) or send over the serial line to the

host (RS-232). The keypad shares the same pins as the seven GPOs on the display and only one or the other

can be used at one time.

4.2 Connections

Figure 19: Keypad Connector

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, but the keypad will generate a different ASCII character mapping

Matrix Orbital

PK162-12

16