Shop OBEX P1 Docs P2 Docs Learn Events
EDE1144 Keypad Encoder problem — Parallax Forums

EDE1144 Keypad Encoder problem

ArchiverArchiver Posts: 46,084
edited 2000-07-11 02:26 in General Discussion
Mohamed:

I have used this IC on several projects and really like it.

Serin must be *TRUE* logic, 396 for T2400 or 84 for 9600.
Keys 0-9 return ASCII 48-57.
Keys 10-15 return ASCII 65-70.

I usually convert these to 0-15 or 1-16 decimal.

elab has data sheets at their site.

Regards,
Ray McArthur

> I have a problem to get the correct keypad value using EDE1144 keypad
> Encoder IC from E-Lab.
>
> for example: Row0 & Column0 give 6 instead of 0
>
> BS2 code:
> start
> if in2 = 0 then keypress
> goto start
> keypress
> serin 3,16468,[noparse][[/noparse]keyVal]
> goto start
> ***
> Different keyVal variable size gives also different incorrect numbers.
> What could be the problem?
> Any help would be appreciated.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-11 02:07
    Hello,
    I have a problem to get the correct keypad value using EDE1144 keypad
    Encoder IC from E-Lab.

    for example: Row0 & Column0 give 6 instead of 0

    BS2 code:
    start
    if in2 = 0 then keypress
    goto start
    keypress
    serin 3,16468,[noparse][[/noparse]keyVal]
    goto start
    ***
    Different keyVal variable size gives also different incorrect numbers.
    What could be the problem?
    Any help would be appreciated.

    Thank You
    Mohamed Refky

    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-11 02:22
    Dear Sir,
    I haven sent e-mail to ask about my problem with keypad encoder,but I did
    not get answer.
    I have a problem to get the correct keypad value using EDE1144.

    for example: Row0 & Column0 give 6 instead of 0
    Row0 & Column1 give 103 instead of 1

    BS2 code:
    keyVal var byte
    start
    if in2 = 0 then keypress
    goto start
    keypress
    serin 3,16468,[noparse][[/noparse]keyVal]
    debug dec keyVal,cr
    goto start
    ***
    Different keyVal variable size gives also different incorrect numbers.
    What could be the problem?
    Any help would be appreciated.

    Thank You
    Mohamed Refky

    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-11 02:26






Sign In or Register to comment.