12 Replies Latest reply on Nov 19, 2015 7:23 AM by alexander.bromm

    Matrix keypad component

    alexander.bromm

      hello community,

         

      I downloaded the adjustable matrix keyboard developed by Bob Marlowe, thanks to that.

         

      heres the link:http://www.cypress.com/forum/psoc-community-components/component-creation-part-1

         

      There i used the "PortComponent2:

         

      After updating all components, the errors showed by creator were gone. But now comes the problem:

         

      I adjusted the keybaord to a 4x4 matrix and attached a LCD  and a to my PSoC 5lp 059,

         

      If I press key 1 on my keypad, nothing happens, the other ones are doing fine, except that the last row is showing the same keys as the third row.
      My keypad looks like:

         

      123A
      456B
      789C
      *0#D

      I ajdusted the translation table in main.c to a 4x4 matrix. Now like described: key 1 nothing happens and for example key 0, i get an 8 like the row above.

         

      Do I have to change something else in the code?

         

      Thanks in advance,
      Alexander