diff --git a/README.md b/README.md index abd9293..f62a683 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # rotary-kb A minimal keyboard consisting only of a rotary encoder with a button + +The treeboard: +Currently selected key is highlighted with a `)` + + + +The finished circuit: + + +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. diff --git a/images/completed-circuit.png b/images/completed-circuit.png new file mode 100644 index 0000000..72f5887 Binary files /dev/null and b/images/completed-circuit.png differ diff --git a/images/treeboard.png b/images/treeboard.png new file mode 100644 index 0000000..3551176 Binary files /dev/null and b/images/treeboard.png differ diff --git a/treeboard/src/main.rs b/treeboard/src/main.rs index 67fa903..80dede2 100644 --- a/treeboard/src/main.rs +++ b/treeboard/src/main.rs @@ -7,7 +7,7 @@ fn main() { println!("Connecting to arduino on port {}...", port); let connection = serial::open(port); if connection.is_err() { - println!("Connection failed {}", connection.err().unwrap()); + println!("Connection failed: {}", connection.err().unwrap()); return; }