Page 1 of 1
Changing keypad codes
Posted: Mon Oct 30, 2006 5:39 am
by Femme
I am using a BLK202A WB BG display.
The controller it will be connected to accepts input only if the string is followed by either a #13 or a ";".
The idea is to change the keypad codes #254 #213, press down for a number and up for a ";"
I seem to have difficulties sending any char outside the normal string character range. I tried this by holding down the alt key + a number on the numeric keypad, e.g. in Hyperterminal. Any control character just sends a "?"
Uproject does not seem to have an arrangement for changing keypad codes.
Typing it in the send string field won't accept the #254 either.
Is there a manual available or a help function for this program? Lots of it is unclear what it is meant to do or how to be used.
What program do I need or how do I send the control chars?
I recieved two different display's. One of them was probably an older version. Is it correct that these do not have the possibility to redefine the keypadcodes.
Posted: Mon Oct 30, 2006 9:48 am
by Raquel
Hello Femme,
Thank you for your post.
Hyperterminal can not transmit characters that are not printable (eg. 254). Please download uProject from
here
Best Regards,
Re: Changing keypad codes
Posted: Mon Oct 30, 2006 4:19 pm
by Femme
I already said
Femme wrote:
Uproject does not seem to have an arrangement for changing keypad codes.
Typing it in the send string field won't accept the #254 either.
Is there a manual available or a help function for this program? Lots of it is unclear what it is meant to do or how to be used.
Or is there?
Posted: Mon Oct 30, 2006 4:42 pm
by Raquel
Hello Femme,
If you go to Uploader Tab on uProject, on the left panel, click to open Other. Drag and drop Raw Data to the right side. This should open up the Raw Data window.
Click on Add Command Byte and note how /254/ is added on the command line. You can then add the command / parameters using either of ASCII Number, HEX Number, or Character then click on Add. Once done with your command, click OK.
To execute the command, hit F9, enter.
Eg. to clear the screen, on the Raw Data window, click on Add Command Byte, then type in 'X' (without the quotes) in Character, then click Add. Click on OK. You should have /254//88/. Execute the command (F9, enter). This should clear the screen.
Posted: Mon Oct 30, 2006 4:51 pm
by Jon
Hi Femme,
There is no manual for the uProject software. In order to use it to change the keypad codes, you must use the Raw data function (menu "Commands->add->raw data") and then add the command bytes that you would like to use.
All you will need to do is enter the ascii number into the text field provided, then click add, then add the next number.
For example use /254//147//1/ (uproject adds the slashes you do not need t0) in order to turn remember on, then use
/254//213/ ... followed by the 25 down keys then 25 up keys in order to remap the keypad
In order to use a ; you may send the ASCII number 59 or Hex 20, or simply place a ; into the character text box and it will add the 59 for you.
Please let me know if this helps.
--
Jonathan
Posted: Mon Oct 30, 2006 5:44 pm
by Femme
Raquel and Jon, thanks for the help. It is working now. Also saved the string for future use.
About my other question
The BLK202 (green display) had a different print and was probably a Rev 2.1
Is it correct that it does not support the key reassignment?
Was I just unlucky in receiving an older version or are they still manufactured this way?
(Hence there is no way of in the ordering information what version you'll get.)
Posted: Mon Oct 30, 2006 5:48 pm
by Raquel
Hello Femme,
Unfortunately Assign Key Code command (213) is only available on the new PCB revision. You might want to contact your sales rep or distributor. We do not manufacture the old ones anymore, you must have had a stock.
Best Regards,
Posted: Mon Oct 30, 2006 5:53 pm
by Jon
Hi Femme,
It is true the the older version does not support key reassignment (it is a nice feature isn't it!)
Where did you purchase the units from?
It is not normal for one unit to be sent out as one revision and the other a different revision.

Posted: Mon Oct 30, 2006 5:53 pm
by Jon
haha... hi raquel
man.. we've been posting identical responces for this whole post
Posted: Mon Oct 30, 2006 6:01 pm
by Femme
I did send it back to the distributor and asked for a new version. Unfortunately they are out of stock. But if necessary I'll refer to this discussion.
Posted: Mon Oct 30, 2006 6:02 pm
by Femme
Jon wrote:Hi Femme,
It is true the the older version does not support key reassignment (it is a nice feature isn't it!)
Where did you purchase the units from?
It is not normal for one unit to be sent out as one revision and the other a different revision.

Antratek in the Netherlands