EDE1144 Keypad Encoder problem
Archiver
Posts: 46,084
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.
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
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
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