Is it this?.....
LCDOUT $FE, $80, REP " " \4
To put four blank spaces at the beginning of the 1st line:
LCDOUT $FE, $80, " "
It's a simple as that. And nothing else currently displayed on the LCD will be changed. Controlling LCD's with PBPro is awfully easy. I've had a lot more problems with quirky LCD drivers that want to work in 8 line mode but not in 4 line. But at least the programming is easy.
A quick edit. The forum software seems to want to eliminate extra spaces in my line of code, but just push the space bar on your keyboard 4 times with quote marks on either end.
Last edited by mugwamp; - 27th July 2006 at 21:34.
You can:
a) just write on top of that location - no need to clear unless you want to
b) clear 4 digits with any of the following
orCode:LCDOUT $FE, $80, REP " " \4 ' perfect the way you have it
orCode:LCDOUT $FE, $80, " " ' 4 spaces between the quotes
orCode:LCDOUT $FE, $80, 32,32,32,32
orCode:LCDOUT $FE, $80, $20,$20,$20,$20
etc.
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Wow...thanks Paul. I really appreciate it when I get specific information like that.
It helps me learn "completely".
Can't believe I actually had the last one right....it was an assumption. I'll stick with 4 blank spaces.....my mind likes the higher level language.
I have poor retention for hex and decimal equivalents and the like.
Some people can retain that type of info....I can't.
Bookmarks