|
|
@@ -24,8 +24,8 @@ The keybrd library has been tested on the Teensy 2.0 microcontroller, MCP23018 I |
|
|
|
Example minimal keybrd sketch |
|
|
|
----------------------------- |
|
|
|
<!-- todo after teensy LC bb, copy and remove annotations from keybrd_single-layer_2_annotated.ino --> |
|
|
|
Here is a [minimal keybrd sketch](tutorials/keybrd_2_single-layer_annotated/keybrd_2_single-layer_annotated.ino). |
|
|
|
The sketch has about 50 lines of code and runs on a 4-key keyboard. |
|
|
|
A [minimal keybrd sketch](tutorials/keybrd_2_single-layer_annotated/keybrd_2_single-layer_annotated.ino). |
|
|
|
has about 50 lines of code and runs on a 4-key keyboard. |
|
|
|
It runs on a breadboard with rows, columns, and diodes just like the big keyboards. |
|
|
|
The sketch is small because the keybrd library takes care of the low-level details. |
|
|
|
|
|
|
@@ -38,11 +38,11 @@ The keybrd_DH emulates the DataHand keyboard. |
|
|
|
It has 72 keys, 4 layers, a sub-layer, 2 matrices, and many features. |
|
|
|
The keybrd_DH and its instantiation files contain about 800 lines of code. |
|
|
|
|
|
|
|
[mainSketch.ino](../keybrd_DH/blob/master/examples/keybrd_DH/mainSketch.cpp)<br> |
|
|
|
[instantiations_ports.h](../keybrd_DH/tree/master/src/instantiations_ports.h)<br> |
|
|
|
[instantiations_LEDs.h](../keybrd_DH/tree/master/src/instantiations_LEDs.h)<br> |
|
|
|
[instantiations_codes.h](../keybrd_DH/tree/master/src/instantiations_codes.h)<br> |
|
|
|
[instantiations_matrix.h](../keybrd_DH/tree/master/src/instantiations_matrix.h) |
|
|
|
[mainSketch.ino](../keybrd_DH/examples/keybrd_DH/mainSketch.cpp)<br> |
|
|
|
[instantiations_ports.h](../keybrd_DH/src/instantiations_ports.h)<br> |
|
|
|
[instantiations_LEDs.h](../keybrd_DH/src/instantiations_LEDs.h)<br> |
|
|
|
[instantiations_codes.h](../keybrd_DH/src/instantiations_codes.h)<br> |
|
|
|
[instantiations_matrix.h](../keybrd_DH/src/instantiations_matrix.h) |
|
|
|
|
|
|
|
Support |
|
|
|
------- |