
Originally Posted by
med2007
I have read the book over and over and still cannot reliably put characters in the right place on the display.
I sometimes have to use umpteen white space characters to get it right..like
LCDOUT $fe,1," What's up Doc?"
and when the LCDOUT is in a FOR-Next loop it screws up the placement of characters as well and in a random fashion?
Anybody?
Rgds
If you want "What's up Doc?" (and I will paraphrase from the manual) try this
Code:
LCDOUT $FE,1 'Clears the screen
LCDOUT $FE,80+4,"What's up Doc?" 'Starts at line 1 four places right
No white spaces and reliable. Works the same for other lines too. $C0 is the second line --$C0+3 would be the second line 3 places to the right.
remember that 80+4 = 84
so $FE,84 works.
Bookmarks