Hello,
I have a custom made 5x5 Button Matrix. If I code 4 rows it is working fine, but as soon as I add the fith row nothing is working at all. Here is my code:
I will take a SWAG since I have no knowledge of that library, have you declared the additional pins in the setup portion of your code? I assume the library does not do that for you.
I did multiple times, but for me it must have somerhing to do with the code, because If I remove the first row, then the keypad works fine with 4x5. As soon as I add the row not a single key is working
The Keypad library supports up to 10 rows and 16 columns (source).
Wokwi uses the same Keypad library, but the Wokwi element for a membrane keypad can not do 5x5 (source).
So I put 25 buttons in a matrix. It works as it is supposed to do
You can test it here:
I have to agree with the others: something is wrong with the wiring or with the keypad itself. If you checked the wiring, then there must be something wrong with the keypad. Can you show a photo of it or a x-ray of the keypad