beautypg.com

5 keypad – Matrix Orbital LK162A-4T User Manual

Page 22

background image

Command Summary

18

LED Indicators

The LK162A-4T has 6 General Purpose Outputs which control 3 bi-colour LEDs. Red, green, and orange-
yellow colours can be created using these software controlled GPOs. Odd numbered GPOs control red
while even numbers switch the green aspects of the LEDs, as shown in the table below.

Table 11: LED Output

Colour GPO

O

GPO

E

Yellow

0

0

Green

0

1

Red

1

0

Off

1

1

4.4 Set LED
Indicators

Dec
Hex
ASCII

254 90

FE 5A

■ Z

Number Colour
Number Colour
Number Colour

v8.0

Immediately sets the state of the specified LED indicator to a specific colour. Temporary unless remember is on.

Number

Byte

LED indicator to be controlled.

Colour

Byte

LED colour state as below.

Table 12: LED Indicator Colour

State

Colour

Off

0

Green

1

Red

2

Yellow

3

6.5 Keypad

5.1 Auto Transmit
Key Presses On

Dec
Hex
ASCII

254 65

FE 41

■ A

v7.2

Key presses are automatically sent to the host when received by the display. Default is Auto Transmit on.


5.2 Auto Transmit
Key Presses Off

Dec
Hex
ASCII

254 79

FE 4F

■ O

v7.2

Key presses are held in the 10 key buffer to be polled by the host using the Poll Key Press command. Use this
mode for I2C transactions. Default is Auto Transmit on.