This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

Parents
  • 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

Reply
  • 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

Children
  • 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.

  • 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