-
Notifications
You must be signed in to change notification settings - Fork 8
glcdlocatestring
Anobium edited this page Oct 18, 2020
·
1 revision
Syntax:
GLCDLocateString(PrintLocX, PrintLocY )
Explanation:
Moves the GLCD string pointer to the specified location on the GLCD screen.
PrintLocX
is the X corrdinate location for the data
PrintLocY
is the Y coordinate location for the data
For the purpose of this command. The screen addressing is the first line equates to the parameter 1, the second line equates to the paramter 2 etc.
An example:
GLCDLocateString( 0, 1 ) 'The first line of the display
GLCDLocateString( 0, 6 ) 'The sixth line of the display
Example:
GLCDPrintStringLn ( "1.First Ln" )
GLCDPrintStringLn ( "2.Second Ln" )
GLCDPrintStringLn ( "" )
GLCDPrintStringLn ( "4.Forth Ln" )
GLCDLocateString( 0, 5 )
GLCDPrintString ( "5." )
GLCDPrintStringLn ( "Fifth Ln" )
GLCDPrintStringLn ( "6.Sixth Ln" )
GLCDLocateString( 0, 3 )
dim val3 as Byte
val3 = 3
GLCDPrintStringLn ( str( val3 ) + ".Third Ln" )