Matrix keypad 4x4, can read only half
Posted: Sat Aug 05, 2017 12:05 pm
Hi,
I have code posted on pastebin: https://pastebin.com/jpsBRS4d
I used arduino sketch to test if matrix works, it works. But i'd like to use espidf instead arduino. My problem is that I can read only first two rows, third, fourth acts like they werent available or something...
Using basic 4x4 keypad from ebay:
If I switch row with cols I can read "1, 4", "3" acts like "A", "6" acts like "B". Dunno whats going on.. Probably mistakes with pull-ups.
I had Windows IoT demo working, when coppied code and rewritten to espidf it dont work.. Im newbie in espidf.
Thank for help.
I have code posted on pastebin: https://pastebin.com/jpsBRS4d
I used arduino sketch to test if matrix works, it works. But i'd like to use espidf instead arduino. My problem is that I can read only first two rows, third, fourth acts like they werent available or something...
Using basic 4x4 keypad from ebay:
If I switch row with cols I can read "1, 4", "3" acts like "A", "6" acts like "B". Dunno whats going on.. Probably mistakes with pull-ups.
I had Windows IoT demo working, when coppied code and rewritten to espidf it dont work.. Im newbie in espidf.
Thank for help.