Argox PA-20 Programming Guide Manuale Utente Pagina 81

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 130
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 80
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.*/
Vedere la pagina 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 129 130

Commenti su questo manuale

Nessun commento