To All
-------------
Hi I have attached the file "lcddefs.bas"
I hope it makes things easier for you,it works for me.

How to use "lcddefs.bas".

First place the file in your PBP directory
(where all the other .bas files are)

then when you write a program, at the top of
the file place the following:-   include "lcddefs.bas".
----------------------------------------------------------------------------
------------------------------------------------------
Right, say you want to clear the lcd screen and write "myname"
this is how you would do it:-

lcdout cmd,clss, "myname"

lcdout followed by cmd which means a CoMmanD comes next,
and then CLss means clear screen, then your text.

cmd, can be followed by a few common commands
they are:-

cmd,clss        =    clear lcd screen
cmd,uline       =    underline cursor
cmd,blink       =    blinking cursor

there are more commands to move the cursor to
different positions, as follows

say you want to clear the lcd, move the cursor to
the bottom line of the lcd and write "myname"

(I use a 16 character by two line lcd display, top line is A
and bottom line is B)

this is how you would do it:-

lcdout cmd,clss, cmd,movtob1, "myname"


cmd,movtoa1        =    move to top line first position
cmd,movtoa2        =    move to top line second position

and so on, positions = a1 to a16

same for bottom line:-

cmd,movtob1        =    move to bottom line position 1
cmd,movtob2        =    move to bottom line position 2

and so on, positions = b1 to b16

------------------
Bri

Ps.
Let me know if it helps.


