beautypg.com

Wherey, Lcd_backlit_setlv, Lcd_backlit_settimer – Argox PA-20 Programming Guide User Manual

Page 81: Lcd_backlit_getlv

background image

PT-20 Programming Guide

79

Example call: wherexy(&x_position,&y_position);

Includes:

#include “SDK.h ”

Description: 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.

Returns: None

wherey

Purpose: Get y-coordinate of the cursor location.

Syntax: int wherey(void);

Example call: y_position = wherey( );

Includes:

#include “SDK.h ”

Description: The wherey function determines the current y-coordinate location of the

cursor.

Returns: none

lcd_backlit_Setlv

Purpose: Set LCD backlight level.

Syntax: void lcd_backlit_Setlv(int level);

Example call: lcd_backlit_ Setlv (1);/*Set LCD backlight level 1*/

Includes:

#include “SDK.h ”

Description: 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.

Returns: None

lcd_backlit_SetTimer

Purpose: Set LCD backlight timer.

Syntax: void lcd_backlit_SetTmer(int timer);

Example call: lcd_backlit_SetTmer (10);/*Set LCD backlight on timer for 10 sec.*/

Includes:

#include “SDK.h ”

Description: 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.

Returns: None

lcd_backlit_Getlv

Purpose: Get LCD backlight level.

Syntax: int lcd_backlit_Getlv(void);

Example call: lcd_backlit_Getlv();/*Get LCD backlight level.*/