void keyConfig(char cRaw, char cPress, char cRelease,
char cCntHold, char cSpdLo, char cCntLo, char cSpdHi);
DESCRIPTION
Assigns each key with keypress and release codes, and hold and repeat ticks for auto
repeat and debouncing.
PARAMETERS
cRaw
1 × 7 keypad matrix with raw key code index assignments (in brackets):
[0]
[4]
User Keypad Interface
cPress
cRelease
cCntHold
cSpdLo
cCntLo
cSpdHi
128
keyConfig
a raw key code index.
[1]
[2]
[5]
a keypress code
An 8-bit value is returned when a key is pressed.
0 = Unused.
See keypadDef() for default press codes.
a key release code.
An 8-bit value is returned when a key is pressed.
0 = Unused.
a hold tick, which is approximately one debounce period or 5 µs.
How long to hold before repeating.
0 = No Repeat.
a low-speed repeat tick, which is approximately one debounce
period or 5 µs.
How many times to repeat.
0 = None.
a low-speed hold tick, which is approximately one debounce period
or 5 µs.
How long to hold before going to high-speed repeat.
0 = Slow Only.
a high-speed repeat tick, which is approximately one debounce
period or 5 µs.
How many times to repeat after low speed repeat.
0 = None.
[3]
[6]
RabbitCore RCM3209/RCM3229
Need help?
Do you have a question about the RabbitCore RCM3209 and is the answer not in the manual?
Questions and answers