I am building a macropad, and when i wired the keypad i soldered the diodes in the col2row orientation. I was originally planning on using qmk firmware, but have decided to write my own in arduino. using the keypad.h library i found that it by default applies voltage to the row pins, but my diodes prevent current from going row2col. is there a way to change that?
Turn your matrix sideways, call the rows 'columns' and the columns 'rows'.
I will try that, Thank you!
Well, that was tricky! ![]()
How many keys will be pressed simultaneously in your application ?
2, possibly 3
Point is, two simultaneous is never a problem, but three might be, depending on which. ![]()
That surprises me. I had imagined that you would program it such that pressing a single key on the keypad would cause the Arduino to send multiple keypresses thus making it easier than having to press several
that is the idea, but i intended to have the key that switches layers have dual functionality, when if held along with one of the macro keys it would let you program the key (by recording keypresses) so that you can change the functions. the reason i wanted to do that is because this will is going to be a gift to my dad who wouldnt want to have to change the code to reprogram it. it might not work but at this point im just attempting to get it to recognize keypresses ![]()
At the expense of 1 extra pin the layer switch layer/programming button would not have to be part of the matrix and that way you would not even need diodes
that is true, but i have already soldered the matrix, and i did col2row originally intending to use qmk
As long as you do not have more than two keys pressed at once that is no problem.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.