Quote Originally Posted by dilpkan View Post
Chk_KEYPAD subroutine has been used at gosub
The problem is that the four numbers are not displayed at 1st , 2nd , 3rd ,4th positions in one line
thanks for replying
dilpkan
Let's analyze one of your LCDOUT statements...

Quote Originally Posted by dilpkan View Post
Lcdout $fe, $c0+1,1,$0f, #key
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?