
PT-20 Programming Guide
void set_alpha_mode_state(int status);
set_alpha_mode_state(ALPHA_123);
This function can set alphabet mode.
Get the status of the alphabet mode status.
int get_alpha_mode_state(void);
This function can get alphabet mode status.
ALPHA_123 : Numeric input.
ALPHA_abc : Lowercase input.
ALPHA_ABC : Uppercase input.
Set keypad backlight on/off.
void set_keypad_BL(BOOL bStatus);
set_keypad_BL(TRUE);//Key backlight on.
This function can set keypad backlight on or off.
Get keypad backlight on/off status.
BOOL get_keypad_BL(void);
if (get_keypad_BL())
_printf_color(COLOR_BLACK, “Key Backlight on”);
This function can get keypad backlight status.
TRUE: Key backlight on.
FALSE: Key backlight off.
Set keypad backlight timer.
void set_keypad_BL_Timer(int slTimer);
set_keypad_BL_Timer(1);//Set keypad backlight timer for 1 sec.
This function can set keypad backlight timer.
Kommentare zu diesen Handbüchern