Page 1 of 1

Remapping the keypad to LK 204-25 USB

Posted: Fri Sep 18, 2009 2:41 pm
by Shivam
Hello,

I have tested the keypad with the lk 204-25 USB lcd and it works fine. I want to remap the LCD to display numbers (0,1,2,3,4,...) instead of letters(A,B,C...). how do I do that?

Posted: Fri Sep 18, 2009 3:23 pm
by Raquel
Hi,

Thank you for your post.

Yes, you should be able to change the key values to numbers instead of letters. Please see section 9.9 of the manual.

Thanks and Best Regards,

Posted: Fri Sep 18, 2009 3:40 pm
by Shivam
I am looking at section 9.9 but since its my first time its a difficult to understand as to how to implement it. Can you give an example or a sample code? Also can I do it with uProject? If so, how? I am looking at the sample keypad code in C# provided on the website. But thats just for testing purposes right?

Posted: Fri Sep 18, 2009 4:05 pm
by Raquel
Hi,
Yes you can do this in uProject:

1. Establish communication with your display using uProject's send text
2 Go to Uploader tab and click on Commands, Add, Raw Data
3. Copy and paste the following (try doing 5 lines; ie 5 Add Raw Data, so you can see the commands):
/254//213//1//2//3//4//5//6//7//8//9//10/
/11//12//13//14//15//16//17//18//19//20/
/21//22//23//24//25//1//2//3//4//5//6//7/
/8//9//10//11//12//13//14//15//16//17/
/18//19//20//21//22//23//24//25/

What you will notice here is that I have made both the down and up keys the same value, if you need something different, just change before you copy and paste.

Once you have your command, you can hit F9, Enter to execute the command and uProject will send it to the display.

Let me know how it turns out.

Thanks and Best Regards,

Posted: Fri Sep 18, 2009 4:32 pm
by Shivam
Thank you. It works. I think you meant to say enter the ASCII values of the numbers and the not the numbers themselves. :)

I had 1 more question though. Every time I press the keypad the original number is replaced. How can I increment the cursor position when the keypad is pressed?