Get_alpha_mode_state, Set_keypad_bl, Get_keypad_bl – Argox PA-20 Programming Guide User Manual

Page 69: Set_keypad_bl_timer

Advertising
background image

PT-20 Programming Guide

67

Syntax: void set_alpha_mode_state(int status);

Example call: set_alpha_mode_state(ALPHA_123);

Includes:

#include “SDK.h ”

Description: This function can set alphabet mode.

Returns: none

get_alpha_mode_state

Purpose: Get the status of the alphabet mode status.

Syntax: int get_alpha_mode_state(void);

Example call: get_alpha_mode_state();

Includes:

#include “SDK.h ”

Description: This function can get alphabet mode status.

Returns: ALPHA_123

: Numeric input.

ALPHA_abc

: Lowercase input.

ALPHA_ABC

: Uppercase input.

set_keypad_BL

Purpose: Set keypad backlight on/off.

Syntax: void set_keypad_BL(BOOL bStatus);

Example call: set_keypad_BL(TRUE);//Key backlight on.

Includes:

#include “SDK.h ”

Description: This function can set keypad backlight on or off.

Returns: None

get_keypad_BL

Purpose: Get keypad backlight on/off status.

Syntax: BOOL get_keypad_BL(void);

Example call: if (get_keypad_BL())

_printf_color(COLOR_BLACK, “Key Backlight on”);

Includes:

#include “SDK.h ”

Description: This function can get keypad backlight status.

Returns: TRUE: Key backlight on.

FALSE: Key backlight off.

set_keypad_BL_Timer

Purpose: Set keypad backlight timer.

Syntax: void set_keypad_BL_Timer(int slTimer);

Example call: set_keypad_BL_Timer(1);//Set keypad backlight timer for 1 sec.

Includes:

#include “SDK.h ”

Description: This function can set keypad backlight timer.

Advertising