
Originally Posted by
keithv
I'm sorry. I'm not following. I think I understand how to move the cursor around. But what is RS? The register select bit? I'm not getting it to display anything even on lines 1 and 2. What would you do differently here to get it to display "hello" on line 1 and then "world" on line 2?
Code:
Lcdout $fe, 1 ' Clear screen
Pause 500 ' Wait .5 second
Lcdout "Hello" ' Display "Hello"
Pause 500 ' Wait .5 second
Lcdout $fe, $c0, "World" ' Move to line 2 and display "World"
Pause 500 ' Wait .5 second
You forgot to designate the line one position
Code:
LCDOUT $FE,1
lcdout $FE,$80,"Hello"
pause 500
lcdout $FE,$C0,"World"
pause 500
Bookmarks