From 4b243d0245bb0d2b5556e8710601a0508c281333 Mon Sep 17 00:00:00 2001 From: Simon Fortier Date: Fri, 10 Nov 2017 21:45:19 -0500 Subject: [PATCH] Created Hardware: Keyboard (markdown) --- Hardware:-Keyboard.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Hardware:-Keyboard.md diff --git a/Hardware:-Keyboard.md b/Hardware:-Keyboard.md new file mode 100644 index 0000000..fa4affe --- /dev/null +++ b/Hardware:-Keyboard.md @@ -0,0 +1,17 @@ +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. + +### Specifications +Manufacturer: - +Version: - +Default address: `0x0004` +Hardware ID: `0x0004` + +### Interrupt Behavior +| Value of A | Action | Energy cost | Result | +| --- | --- | --- | --- | +| `0` | `CLEAR` | `0 kJ` | Clear the keypress buffer | +| `1` | `FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it| + + + +Keycodes: [keycode.info](http://keycode.info/) \ No newline at end of file