I'm working on a project that needs to get numeric input on several questions form user.
I bought this keypad
but after connecting it, I received a lot of input form certain keys (A, 7 and 1). It also depends if I move the keypad without pressing any button. In addition, sometimes if I press a key I continuously receive input from that key.
I wrote to the manufacturer and he sent to me a replacement, but I have the same issue.
I used this example of standard sketch provided with the library Keypad:
As per one of my colleagues, it's a matter of how the keypad was built. It's too much compressed!!
What is your opinion?
Is there something I can do with these keypads?
Do you have any model that you can suggest that worked fine for you?
I tried now as you wrote, but I have the same behavior: if I just touch keypad o the flat cable it starts outputting keys continuously.
Do you have any idea?
Are you actually using an R4? I had to modify the Keypad library to get it work with that board. If you see a warning like that below, you're likely running into the same problem.
Since I wansn't able to sort out, I tried to change the .h file as you described, even if I haven't the warning, and keypad started working well!
It did the trick!
I guess that actually makes sense. The IDE is smart enough not to re-compile the library once it's been done once. So the message would have flashed by once way back the first time you used it, and then not again for quite some time, if ever.
Hello,
I confirm that I sorted out this issue throughout the tips of the message of van_der_decken of March 6th.
I already marked his post as the solution, and my subsequent post unequivocally says that he gave the solution: you just need to pay attention to marks and read the entire thread