How do I clear just the second line of a 2x16 LCD?
How do I clear just the second line of a 2x16 LCD?
One way would be to blank it.
other fun codes:Code:LCDOUT $FE, $C0, " "
$FE, 1
Clear display
$FE, 2
Return home (beginning of first line)
$FE, $0C
Cursor off
$FE, $0E
Underline cursor on
$FE, $0F
Blinking cursor on
$FE, $10
Move cursor left one position
$FE, $14
Move cursor right one position
$FE, $C0
Move cursor to beginning of second line
$FE, $94
Move cursor to beginning of third line
$FE, $D4
Move cursor to beginning of fourth line
Just blanking it worked fine. Was thinking way to hard about that!! Thanks
You should also be able to use REP modifier in LCDOUT... REP " "\16
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks