Keypad port chapter 9, Commands – Remote Processing RPC-30 User Manual
Page 32

KEYPAD PORT
CHAPTER 9
Page 30
RPC-30
The table b elow lists J5' s pinout, 82C55 p ort 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 com mands for the
keypad.
Comm and
Function
I N P U T KE Y P A D $
Input data from a keypad
KEYPA D$(n)
Returns last key from
keypad port
O N K E Y P AD $
Causes a program branch
when a key is pressed
SYS(8)
Returns keypad string
address