
PT-20 Programming Guide
LCD
The following functions clr_eol, clr_rect, clr_scr, fill_rect, fill_rect_color, Get_Cursor,
Set_Cursor, gotoxy, wherex, wherexy, wherey, _printf_color, _putchar, _puts, _puts_color and
show_image_bmp only effect the current TextBlock. The parameters of those function will
base on TextBlock’s size and position.
Clear from where the cursor is to the end of the line. The cursor position is
not affected after the operation.
The clr_eol function clears from where the cursor is to the end of the line,
and then moves the cursor to the original place.
Clear a rectangular area on the LCD display. The cursor position is not
affected after the operation.
void clr_rect(int left, int top, int width, int height);
The clr_rect function clears an rectangular area on the LCD display whose
top left position and size are specified by left, top, width, and height. The
cursor position is not affected after the operation. Several introduces the
argument as follows:
Clear form the start point of X-axis.
Clear form the start point of Y-axis.
Clear the width form the start point.
Clear the high form the start point.
The clr_scr function clears the LCD display and places the cursor at the
first column of the first line, that is (0,0) as expressed with the coordinate
Komentarze do niniejszej Instrukcji