Keypad encoder problem MEMKey (SOLUCE)
Archiver
Posts: 46,084
Hi all,
I answer myself, it could be useful for future users...
The Solution Cubed MEMKey (and the Pocket Watch B as well) uses NON-INVERTED
baud mode.
I changed the $43FD into $3FD (for 2400 bauds), and now it's working fine !
Thanks to Dave Andreae from the Technical support at Parallax, Inc..
Enjoy stampin'
Phil.
Original Message
From: Philippe Derenne <derennep@s...>
To: <basicstamps@egroups.com>
Sent: Sunday, July 23, 2000 9:55 AM
Subject: [noparse][[/noparse]basicstamps] Keypad encoder problem MEMKey (second post)
> Hi all,
>
> I'm trying to use the MEMkey keypad encoder (from Solution Cubed) with a
> BS2SX.
> I can communicate with the MEMkey, I even receive codes when I push a
button
> on the keypad.
> The problem is that I can't program the keys to return certains values. It
> should be possible, because there is a code sample in the little manual of
> the MEMkey.
> Also, the encoder should return codes from '00'H to '13'H (or 0 to 19) for
> the keys 0 to 19 (this is the factory setting). But I get results like 127
> for the '2' key, 63 for the '3' key, and so on.
>
> The following code is not working :
>
> N2400 con $43FD '2400 baudmode for BS2SX
>
> SEROUT 14,N2400,[noparse][[/noparse]$0A,$00,$40]
> PAUSE 10
>
> This should program the encoder to return '40'H when the key 0 is pushed
> (which is the '1' key on the keypad I use).
>
> Is there a trick for the BS2SX, or do I forget something else ?
> The keypad is a 4 x 4 matrix from Grayhill.
>
> Thanks in advance for your help !
>
> Phil.
>
> Philippe Derenne
> Computer Solutions
> Belgium
>
> mailto:derennep@s...
I answer myself, it could be useful for future users...
The Solution Cubed MEMKey (and the Pocket Watch B as well) uses NON-INVERTED
baud mode.
I changed the $43FD into $3FD (for 2400 bauds), and now it's working fine !
Thanks to Dave Andreae from the Technical support at Parallax, Inc..
Enjoy stampin'
Phil.
Original Message
From: Philippe Derenne <derennep@s...>
To: <basicstamps@egroups.com>
Sent: Sunday, July 23, 2000 9:55 AM
Subject: [noparse][[/noparse]basicstamps] Keypad encoder problem MEMKey (second post)
> Hi all,
>
> I'm trying to use the MEMkey keypad encoder (from Solution Cubed) with a
> BS2SX.
> I can communicate with the MEMkey, I even receive codes when I push a
button
> on the keypad.
> The problem is that I can't program the keys to return certains values. It
> should be possible, because there is a code sample in the little manual of
> the MEMkey.
> Also, the encoder should return codes from '00'H to '13'H (or 0 to 19) for
> the keys 0 to 19 (this is the factory setting). But I get results like 127
> for the '2' key, 63 for the '3' key, and so on.
>
> The following code is not working :
>
> N2400 con $43FD '2400 baudmode for BS2SX
>
> SEROUT 14,N2400,[noparse][[/noparse]$0A,$00,$40]
> PAUSE 10
>
> This should program the encoder to return '40'H when the key 0 is pushed
> (which is the '1' key on the keypad I use).
>
> Is there a trick for the BS2SX, or do I forget something else ?
> The keypad is a 4 x 4 matrix from Grayhill.
>
> Thanks in advance for your help !
>
> Phil.
>
> Philippe Derenne
> Computer Solutions
> Belgium
>
> mailto:derennep@s...