-
Notifications
You must be signed in to change notification settings - Fork 90
(Hardware) Keyboard
simon987 edited this page Nov 3, 2019
·
1 revision
Your current computer keyboard can be connected wirelessly to your Cubot's microprocessor. The wireless receiver can queue up to 16 key presses in its internal buffer.
Manufacturer: -
Version: -
Default address: 0x0004
Hardware ID: 0x0004
| Value of A | Action | Energy cost | Result |
|---|---|---|---|
0 |
KEYBOARD_CLEAR |
0 kJ |
Clear the keypress buffer |
1 |
KEYBOARD_FETCH_KEY |
0 kJ |
Reads the oldest keycode from the buffer into the B register and remove it |
The KEYBOARD_FETCH_KEY operation will return 0x0 when the buffer is empty.
Keycodes: keycode.info