
PT-20 Programming Guide
wherexy(&x_position,&y_position);
The wherexy function copies the value of x-coordinate and y-coordinate of
the cursor location to the variables whose address is
specified in the arguments column and row.
Get y-coordinate of the cursor location.
The wherey function determines the current y-coordinate location of the
cursor.
void lcd_backlit_Setlv(int level);
lcd_backlit_ Setlv (1);/*Set LCD backlight level 1*/
The lcd_backlit_Setlv sets LCD backlight level. When any key is pressed,
the backlight will turn on, and the light will be the level that you set.
The back light level has 5 levels to set.
void lcd_backlit_SetTmer(int timer);
lcd_backlit_SetTmer (10);/*Set LCD backlight on timer for 10 sec.*/
The lcd_backlit_SetTimer sets LCD backlight on timer.
If set timer 0, the backlight always not light, others will set backlight on
timer for sec.
The max timer will be 65535 sec.
int lcd_backlit_Getlv(void);
lcd_backlit_Getlv();/*Get LCD backlight level.*/
Kommentare zu diesen Handbüchern