add images
This commit is contained in:
parent
7d7084801a
commit
78838de420
4 changed files with 12 additions and 1 deletions
11
README.md
11
README.md
|
@ -1,2 +1,13 @@
|
||||||
# rotary-kb
|
# rotary-kb
|
||||||
A minimal keyboard consisting only of a rotary encoder with a button
|
A minimal keyboard consisting only of a rotary encoder with a button
|
||||||
|
|
||||||
|
The treeboard:
|
||||||
|
Currently selected key is highlighted with a `)`
|
||||||
|
|
||||||
|
<img src="images/treeboard.png" alt=""/>
|
||||||
|
|
||||||
|
The finished circuit:
|
||||||
|
<img src="images/completed-circuit.png" alt=""/>
|
||||||
|
|
||||||
|
I sacrificed one Lego piece to make it fit on, now I can attach a Lego wheel to it.
|
||||||
|
Since pressing the button takes a bit too much force, there is also a Lego 3x1 brick under the encoder which supports it so that the pins don't take all the load.
|
||||||
|
|
BIN
images/completed-circuit.png
Normal file
BIN
images/completed-circuit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 596 KiB |
BIN
images/treeboard.png
Normal file
BIN
images/treeboard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -7,7 +7,7 @@ fn main() {
|
||||||
println!("Connecting to arduino on port {}...", port);
|
println!("Connecting to arduino on port {}...", port);
|
||||||
let connection = serial::open(port);
|
let connection = serial::open(port);
|
||||||
if connection.is_err() {
|
if connection.is_err() {
|
||||||
println!("Connection failed {}", connection.err().unwrap());
|
println!("Connection failed: {}", connection.err().unwrap());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue