diff --git a/CAD/case_base.stl b/CAD/case_base.stl new file mode 100644 index 0000000..8cfa799 Binary files /dev/null and b/CAD/case_base.stl differ diff --git a/CAD/case_lid.stl b/CAD/case_lid.stl new file mode 100644 index 0000000..9022064 Binary files /dev/null and b/CAD/case_lid.stl differ diff --git a/CAD/hand_piece.stl b/CAD/hand_piece.stl new file mode 100644 index 0000000..8796f3e Binary files /dev/null and b/CAD/hand_piece.stl differ diff --git a/CAD/knob.stl b/CAD/knob.stl new file mode 100644 index 0000000..3490118 Binary files /dev/null and b/CAD/knob.stl differ diff --git a/CAD/rail.stl b/CAD/rail.stl new file mode 100644 index 0000000..fdd122f Binary files /dev/null and b/CAD/rail.stl differ diff --git a/CAD/rail_holder.stl b/CAD/rail_holder.stl new file mode 100644 index 0000000..431e772 Binary files /dev/null and b/CAD/rail_holder.stl differ diff --git a/Firmware/button.ino b/Firmware/button.ino new file mode 100644 index 0000000..e3fb0e4 --- /dev/null +++ b/Firmware/button.ino @@ -0,0 +1,19 @@ +#include +int buttonPin = 9; // Set a button to any pin + +void setup() +{ + pinMode(buttonPin, INPUT_PULLUP); // Set the button as an input + Keyboard.begin(); +} + +void loop() +{ + if (digitalRead(buttonPin) == 0) // if the button goes low + { + Keyboard.press('z'); // send a 'z' to the computer via Keyboard HID // delay so there aren't a kajillion z's + }else{ + Keyboard.releaseAll(); + } + delay(50); +}