damien
- 12th October 2009, 13:39
Any assistance appreciated as I keep running round this so fast I’m in danger of disappearing up my own backside. I am trying to use a keypad or more probably a membrane switch, as I need to overlay them with pictures for kids to use. Rather than send letters or numbers to the LCD I need it to count the number of times a particular key has been pressed and display that number on the LCD.
Hardware:-
PIC ???
20x4 LCD
Keypad/Membrane Switch or even a switch matrix
Software:-
At switch-on or RESET the LCD should display a set of CONST str
WORD1 WORD2
WORD3 WORD4
WORD5 WORD6
WORD7 WORD8
It should then scan the buttons and count the number of times each button (1 – 8) is pressed and hold these numbers in a set of variables
On pressing the DISPLAY button the LCD should then show the corresponding number associated with each CONST word (or pictures as far as the child is concerned) if a button hasn’t been pressed then the number 0 should be displayed
WORD1 0 WORD2 45
WORD3 12 WORD4 22
WORD5 6 WORD6 0
WORD7 1 WORD8 14
Grateful for any help
Hardware:-
PIC ???
20x4 LCD
Keypad/Membrane Switch or even a switch matrix
Software:-
At switch-on or RESET the LCD should display a set of CONST str
WORD1 WORD2
WORD3 WORD4
WORD5 WORD6
WORD7 WORD8
It should then scan the buttons and count the number of times each button (1 – 8) is pressed and hold these numbers in a set of variables
On pressing the DISPLAY button the LCD should then show the corresponding number associated with each CONST word (or pictures as far as the child is concerned) if a button hasn’t been pressed then the number 0 should be displayed
WORD1 0 WORD2 45
WORD3 12 WORD4 22
WORD5 6 WORD6 0
WORD7 1 WORD8 14
Grateful for any help