.idlecode Property

Function:

Specifies the code that is expected to be present on the return lines of a binary keypad when no key is pressed.

Type:

Byte

Value Range:

0-255. Default = 0.

See Also:

Connecting Binary Keypads, Preparing the Keypad for Operation


Details

A binary keypad always outputs some code. Set this property to match the idle code that your keypad outputs when no keys are pressed.

This property is only relevant for binary keypads (kp.mode = 1 — PL_KP_MODE_BINARY).

This property can only be changed when the keypad is disabled (kp.enabled = 0 — NO).


.idlecode Property

Details