129
CLR_RECT
Purpose To clear a rectangular area on the LCD.
Syntax CLR_RECT(x%, y%, size_x%, size_y%)
Remarks “x%”, “y%” are integer variables, indicating the x, y coordinates of the upp
left point of the rectangular area.
“size_x%” is an integer variable, indicating the width of the rectangle in pixels.
“size_y%”
is an integer variable, indicating the height of the rectangle in pixels.
Example
See Also CLS, FILL_RECT
CLS
Purpose To clear everything on the LCD.
Syntax CLS
Remarks
After running this command, whatever is being shown on the LCD will be
erased and the cursor will be move to (1,1).
Example
ON TIMER(1, 200) GOSUB ClearScreen ' TIMER(1) = 2 second
...
ClearScreen:
OFF TIMER(1)
CLS
See Also CLR_RECT, PRINT