Hi,
I'm working with an Arduino Mega and a small five-pin keypad. I've already determined the rows/cols of the keypad and gotten it working relatively well using a keypad library.
My keypad has six number keys and a hash key. What I want to do is this:
At the keypad, I will type in 4 to 8 digits. I want the arduino to watch which pins go high (for each digit) and then after a preset event occurs (like a switch being thrown or input from some other source is received), to play back the same sequence of high pins through a different set of pins on the arduino which are connected to a different device.
If I press the hash key, the pins for the hash key should be played back without delay.
The problem I have is the library I am currently using to use the keypad (keypad.h) will translate my pin values to their actual keypad characters, so I think I'd have to write something from scratch to just store and record pin values while still doing debouncing etc for the keypad, and I'm not sure where to begin.
Can anyone who's done something similar point me in the right direction?