clear a single row
japer
Posts: 105
hello
Is their a way to clear a single row or a single cursor area
on a "27979 " 4 X 20 LCD using bs2?
haven't found anything yet .without completely clearing the screen
thanks for any direction
japer
Is their a way to clear a single row or a single cursor area
on a "27979 " 4 X 20 LCD using bs2?
haven't found anything yet .without completely clearing the screen
thanks for any direction
japer
Comments
· Look on pages 7-9 of your documentation -- because you have commands with which you can move the cursor to any position of the 4x20.· Place the cursor as appropriate·and then do a space and you have your postion "cleared."
Post Edited (PJ Allen) : 5/16/2006 12:47:37 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
SEROUT LCD, Baud, [noparse][[/noparse]REP " "\10]·· <-- uses 10 bytes.
The original used 26 bytes plus variables.· No variables were needed with this solution.· As I said, either works, but you should be aware of it in case you some day run out of one or both.· PJ, not knocking your code.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
So, with SEROUT LCD, Baud, [noparse]/noparse]REP " "\[color=red]10[/color, a variable could be used in place of the 10, then ( SEROUT LCD, Baud, [noparse][[/noparse]REP " "\A] )?
·· That is correct...the constant 10 could be replaced with a variable.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
that is cool that you could use a variable Mr. Savage.
. it Truly is a flexible language !
japer