Keil Logo Arm Logo

Discussion Forum

Keypad connected to LPC922

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Omar Espinosa
Posted
21-Mar-2007 20:50 GMT
Toolset
C51
New! Keypad connected to LPC922

Dear Colleages,
I would like to know who on earth has an example code of a 4x4 keypad connected to an LPC922 using only P0, and wants to share it wiht me, .
I wrote a piece of program and unfortunately it works very badly although the uVision simulator/debugger shows no problem.

Regards
OmarE

Read-Only
Author
erik malund
Posted
21-Mar-2007 21:04 GMT
Toolset
C51
New! RE: Keypad connected to LPC922

I wrote a piece of program and unfortunately it works very badly

so basically it works, thus I guess it is either/both of these:
a) missing debouncing
b) using the keypad interrupt for anything but wake up

If it is neither of those give a link to your code.

who on earth has an example code of a 4x4 keypad connected to an LPC922 using only P0, and wants to share it wiht me
no professional in his right6 mind would give away full code and what you get from amateurs will be "whatever", so you will be far better off making your own code work.

Erik

Read-Only
Author
Per Westermark
Posted
22-Mar-2007 14:23 GMT
Toolset
C51
New! RE: Keypad connected to LPC922

Quite a lot of professionals will give away free code - especially trivial code.

However, most professionals will assume that a request for code to handle a 4x4 keyboard is for a school assignment, for the simple reason that about 97% of the requests for it really is for a school assignment.

Hence, the people most likely to supply such code on request is people who takes it as a challenge to write such code, and then wants to propagate their master pieces.

Read-Only
Author
erik malund
Posted
22-Mar-2007 15:58 GMT
Toolset
C51
New! RE: Keypad connected to LPC922

However, most professionals will assume that a request for code to handle a 4x4 keyboard is for a school assignment, for the simple reason that about 97% of the requests for it really is for a school assignment.

and no professional want to end up working with someone that graduated by copying instead of engineering. So any professional worth his salt will WANT you to fail your graduation if YOU are not able to do the project YOURSELF

Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.