Help needed for 3x3 keypad matrix

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
nickdelight
Posts: 1
Joined: 04 Sep 2019 11:10

Help needed for 3x3 keypad matrix

#1 Post by nickdelight » 04 Sep 2019 11:17

Hi all, I just need some help. I have succesfully implemented a 4x4 keypad using the included library of mikroC PRO for AVR, but I have to add a 3x3 keypad in the same project. I'm using a ATCAN128 so I have ports to do it, but it seems that I cannot use the same library to add a second keypad to the project. Can anybody help? Thanks in advance.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: Help needed for 3x3 keypad matrix

#2 Post by stefan.filipovic » 12 Sep 2019 14:05

Hi,

Welcome to the MikroE forum.

Unfortunately, you cannot use two keypads on two different PORTs with our Keypad 4x4 library.
There are some keypad libraries uploaded by our customers on the LibStock, so you can try using some of them for your second keypad.
You may try with this one.

Kind regards,
Stefan Filipović

oliverb
Posts: 570
Joined: 24 May 2007 15:09

Re: Help needed for 3x3 keypad matrix

#3 Post by oliverb » 20 Oct 2019 11:40

Do the two keypads need to be usable simultaneously?
If not then they could share columns effectively giving a 4*7 (or 7*4) keypad. Then again if the standard library is limited to 4*4 then that's not so much help.

Post Reply

Return to “Libstock Discussion”