7 general purpose output, 1 introduction, 2 gpo_cmd_gpotoggle() – Matrix Orbital PK162-12 User Manual
Page 35: 3 general purpose output off

7 General Purpose Output
7.1 Introduction
General purpose outputs allow you to connect devices, such as LEDs, to the PK162-12 and supply them
with up to 20mA of current at 5V. The PK162-12 has 7 GPOs which are software controlled, with functions
to turn them on/off and set the power state for the next startup.
7.2 gpo_CMD_GPOtoggle()
7.2.1 Meta
Short
Toggle Keypad/GPO mode
Remember
Yes
7.2.2 Parameters
Mode
1
0: Keypad, 1: GPO
7.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.
7.3 General Purpose Output Off
Syntax
Hexadecimal
0xFE 0x56 [Num]
Decimal
254 86 [Num]
ASCII
254 “V” [Num]
Parameters
Parameter
Length
Description
Num
1
GPO number.
Matrix Orbital
PK162-12
31