Shop OBEX P1 Docs P2 Docs Learn Events
4x4 matrix keypad — Parallax Forums

4x4 matrix keypad

Daniel M.Daniel M. Posts: 14
edited 2005-11-21 11:54 in General Discussion
Hello,

Recently I have been attempting to read key presses from a 4x4 matrix keypad with my SX28,·to no avail. What is the best way this should be done? Thanks.

·- Daniel

Comments

  • Mike CookMike Cook Posts: 829
    edited 2005-11-20 20:02
    Take a look at the SX/B v1.42.01 help file there is a 4x4 Matrix Keypad example under "Example Projects"

    If you are doing assembly then you can compile this example and look at the <CTRL><L> output.

    Mike

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "OEM NMEA GPS Module" Now available on ebay for only $19.99

    Product web site: http://www.allsurplus.net/Axiom/

    Post Edited (Mike Cook) : 11/20/2005 8:13:12 PM GMT
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2005-11-21 11:54
    There are several different written programs available for this.
    Are you using one of them or have you been trying to DIY it?

    SX Assembler and SX/B are both available.

    One of the nice things about the SX is that there are schmitt triggers available to eliminate some of the debouncing problems that other microcntrollers struggle with by using diodes, resistors, etc.

    Are you putting in too much circuitry?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Sign In or Register to comment.