Professional Documents
Culture Documents
MICROCONTROLLERBOARD {AlphanumericLCDandKeypad}
MohamadFauziZakaria http://fkee.uthm.edu.my/mfauzi
Contents
2
Schematic
3
mfauzi
3 January, 2011
Macrosfor SelectingLCDPinAssignments
17
18
Keypad
23
A keypad is simply an array of push buttons connected in rows and columns columns. Two processes of keypad programming:
1.
2.
mfauzi
3 January, 2011
0 1 1 1 1 0 1 1
If RB3 RB0 = 1110 for the row and RB7 - RB4 = 1011 d for the column. Then, the key number 2 was pressed.
mfauzi
3 January, 2011
25