LOCATE

Top  Previous  Next

Action

Moves the LCD cursor to the specified position.

 

 

Syntax

LOCATE y , x

 

 

Remarks

X

Constant or variable with the position. (1-64*)

Y

Constant or variable with the line (1 - 4*)

 

* depending on the used display

For Graphical displays X can be in the range from 1-30 and y in the range from 1-8.

 

 

See also

CONFIG LCD , LCD , HOME , CLS

 

 

Example

LCD "Hello"

Locate 1,10

LCD "*"