This function gets the pressed state of the specified key.

Syntax

int IsEachkeyPressed(
  char key
);

Parameters

key
[in] Specify the key.
ValueDescription
0 Do not specify the key.
Key Specify the key.

Return value

Returns the pressed state of the specified key
ValueDescription
TRUE Specified key is pressed.
FALSE Specified key is not pressed.

Remarks

Key:
ValueDescription
NUM0_KEY [0] key
NUM1_KEY [1] key
NUM2_KEY [2] key
NUM3_KEY [3] key
NUM4_KEY [4] key
NUM5_KEY [5] key
NUM6_KEY [6] key
NUM7_KEY [7] key
NUM8_KEY [8] key
NUM9_KEY [9] key
TRIGGER_KEY
SCAN_KEY
[SCAN] key
Q1_KEY [Q1] key
Q2_KEY [Q2] key
BS_KEY [BS] key
CLR_KEY [CLEAR] key
ENT_KEY [ENT] key
SHIFT_KEY [SHIFT] key
DOT_KEY [.] key
F1_KEY [F1] Key
F2_KEY [F2] Key
F3_KEY [F3] Key

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2021/06/30