
Command Summary 39
6.10 Keypad
10.1 Auto
Transmit Key
Presses On
Key presses are automatically sent to the host when received by the display. Use this mode for I2C transactions.
10.2 Auto
Transmit Key
Presses Off
Key presses are held in the 10 key buffer to be polled by the host using the Poll Key Press command. Default is
Auto Transmit on.
Reads the last unread key press from the 10 key display buffer. If another key is stored in the buffer the MSb will
be 1, the MSb will be 0 when the last key press is read. If there are no stored key presses a value of 0 will be
returned. Auto transmit key presses must be turned off for this command to be successful, do not use with I
2
C.
Value of key pressed (MSb determines additional keys to be read).
Clears all key presses from the key buffer.
Sets the time between a key press and a key read by the display. Most switches will bounce when pressed; the
debounce time allows the switch to settle for an accurate read. Default is 8 representing approximately 52ms.
Debounce increment (debounce time = Time * 6.554ms).
10.6 Set Auto
Repeat Mode
Sets key press repeat mode to typematic or hold. In typematic mode if a key press is held, by default the key value
is transmitted immediately, then 5 times a second after a 1 second delay. In hold mode, the key down value is
transmitted once when pressed, and then the key up value is sent when the key is released. Default is typematic.
1 for hold mode or 0 for typematic.
Comentarios a estos manuales