I didn't see a Chk_KEYPAD subroutine included in your code. Do you have one?
I didn't see a Chk_KEYPAD subroutine included in your code. Do you have one?
If this is for password entry, do you even WANT to display the characters that are entered? Better to handle it like MS Windows and display asterisks.
Just a thought,
... Steve.
Let's analyze one of your LCDOUT statements...
LCDOUT - the command
$fe - send an instruction
$c0 + 1 - the position
1 - clear the display which basically resets the display back to square one
$0f - programmable character
#key - a variable
....
See a problem here?
NOPE,
if you use 1 without $FE before, it will try to print ASCII decimal character 1, same for $0F. If you want to mask you data with asterix, just use "*" in your lcdout and forget the #key.
MAybe you could find some tips in the following
http://www.picbasic.co.uk/forum/show...mbination+gate
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
. .
Last edited by mara; - 24th January 2008 at 22:08. Reason: uups, wrong thread
Bookmarks