Page 84 - Making PIC Microcontroller Instruments and Controllers
P. 84
74 CO 'NOLLII{G THE OUTPUIATD NEADNG THE II{PUT
the keyboard rows and columns
*I$iilaii&ru: Beading the keyboard (Reading
and show key n!mber) (Contlnued)
FOR AI-PHA = 1 tO 4 need to look at 4 rows
IF {POREB & SFO)<>gFO IHEN
one of rhe bits in
84 Lo B7 chanses we; imnedialely
have to slore the vafue of PORTB
BUIFER =PORIIB
GOSUB SEOWKEYPRESS
ELSE
E
