
KEYPAD PORT CHAPTER 9
Page 30 RPC-30
The table below lists J5' s pinout, 82C55 port and bit,
and its intended function.
Pin 82C55 Function
Port/ bit
1 C/0 Row 1
2 C/6 Column 3
3 C/5 Column 2
4 C/1 Row 2
5 C/2 Row 3
6 C/4 Column 1
7 C/7 Column 4
8 C/3 Row 4
9 B/0 Column 5
10 B/1 Column 6
COMMANDS
The following is a list of CAMBASIC commands for the
keypad.
Command Function
INPUT KEYPAD$ Input data from a keypad
KEYPAD$(n) Returns last key from
keypad port
ON KEYPAD$ Causes a program branch
when a key is pressed
SYS(8) Returns keypad string
address
Comentarios a estos manuales