beautypg.com

A10. led command, A11. keypad commands, Clr_kbd – Argox PA-20 Basic Programming Manual User Manual

Page 111: Inkey, Input_len, Input, Input_s, Input_s_ carryent, Input_s_vibrate, Input_s_sleep

background image

PT-Basic Programming Manual Ver. 1.00

110/143

A10.

LED command

Command

description

LED

To set the LED indicators.

A11.

Keypad commands

Command

description

CLR_KBD

To clear the keypad buffer.

INKEY$

To read one character from the keypad buffer

and then remove it.

INPUT_LEN

To set or get input length when used
“INPUT” or INPUT_S" command.

INPUT

To take user input from the keypad and store

it in a variable.

INPUT_S

To take user input from the keypad, scanning

and store it in a variable.

INPUT_S_ CARRYENT

To set ENT auto press on/off when use
“INPUT_S” command.

INPUT_S_VIBRATE

To set vibrator on or off when use
“INPUT_S” command.

INPUT_S_SLEEP

To set scanner sleep on or off when use
“INPUT_S” command.

INPUT_MODE

To set the display mode of the input data.

KEY_CLICK

To enable or disable the key click sound.

ALPHA_LOCK

To set the ALPHA state for input mode.

GET_ALPHA_LOCK

To get information of the ALPHA state for

input mode.

GET_KEY_CLICK

To get current key click status.

KEYPAD_BL_TIMER

To set or get keypad backlight timer.

KEYPAD_BL

To set keypad backlight on/off.

DEF_PKEY

To change the definition of programmable key

(P1 & P2) .

SCANKEYPWON

To set power on by scan key.

GET_SCANKEYPWON

Get state for power on by scan key.