User`s manual
96 eDisplay (OP7200)
4.5.7 Keypad Functions
The KEYPAD9.LIB library in the Keypads directory provides function calls to keypad
menus for the OP7200 keypad.
Initializes keypad process
Assigns each key with key press and release codes, and hold and repeat ticks for auto repeat and
debouncing.
PARAMETERS
cRaw is a raw key code index.
3 × 4 keypad matrix with raw key code index assignments (in brackets):
User Keypad Interface
cPress is a key press code
An 8-bit value is returned when a key is pressed.
0 = Unused.
See keypadDef() for default press codes.
cRelease is a key release code.
An 8-bit value is returned when a key is pressed.
0 = Unused.
cCntHold is a hold tick.
How long to hold before repeating.
0 = No Repeat.
cSpdLo is a low-speed repeat tick.
How many times to repeat.
0 = None.
cCntLo is a low-speed hold tick.
How long to hold before going to high-speed repeat.
0 = Slow Only.
void keyInit(void);
void keyConfig(char cRaw, char cPress,
char cRelease, char cCntHold, char cSpdLo,
char cCntLo, char cSpdHi);
[0] [1] [2] [3] [4]
[5] [6] [7]
[8]