keybrd library is an open source library for creating custom-keyboard firmware.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Dieses Repo ist archiviert. Du kannst Dateien sehen und es klonen, kannst aber nicht pushen oder Issues/Pull-Requests öffnen.

tutorial_2_single-layer_keyboard.md 2.0KB

Tutorial 2 - single-layer keyboard

The easiest way to learn the keyboard library is to read some simple sketches. keybrd_2_single-layer.ino is a simple sketch with annotations that explain how a keybrd sketch works. The sketch will run on the basic breadboard keyboard described in tutorial_1_breadboard_keyboard.md

After reading the sketch you will be able to modify it to suite your own single-layer keyboard design.

basic breadboard keyboard

Exercises

1) Read the four class definitions #included in the sketch. Classes are defined in the keybrd library.

2) Add a fifth key to the breadboard keyboard and sketch. Not all rows have to have the same number of keys. The scanner should have enough readPins to cover all the keys of the longest row.

Layout 0 1 2
0 1 2 3
1 a b

Please take the keybrd tutorials usability survey


Creative Commons License
keybrd tutorial by Wolfram Volpi is licensed under a Creative Commons Attribution 4.0 International License.
Permissions beyond the scope of this license may be available at https://github.com/wolfv6/keybrd/issues/new.