aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/teensy_lc/readme.md
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-06-26 18:52:09 +0100
committerDrashna Jaelre <drashna@live.com>2019-06-26 10:52:09 -0700
commit2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e (patch)
tree8f11977cbcc28ce6d4e6fa99ce87ddc879cdfa72 /keyboards/handwired/onekey/teensy_lc/readme.md
parent01fb06af6c7d63a1338dc48d9a62e956ffcc6c3a (diff)
downloadfirmware-2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e.tar.gz
firmware-2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e.tar.bz2
firmware-2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e.zip
[Keyboard] Refactor of onekey to support multiple development boards (#6017)
* Initial refactor of onekey to support multiple development boards * Fixes to get teensy lc && 3.2 working * Add pin tables * Add caveats to Teensy boards * Correct bootloader for Elite-C
Diffstat (limited to 'keyboards/handwired/onekey/teensy_lc/readme.md')
-rw-r--r--keyboards/handwired/onekey/teensy_lc/readme.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/teensy_lc/readme.md b/keyboards/handwired/onekey/teensy_lc/readme.md
new file mode 100644
index 000000000..676d794d8
--- /dev/null
+++ b/keyboards/handwired/onekey/teensy_lc/readme.md
@@ -0,0 +1,40 @@
+# Teensy LC onekey
+
+To trigger keypress, short together pins *D5* and *B2* (marked on the PCB as *20* and *19*).
+
+## Hardware
+
+### Pins
+When setting matrix pins, you need to use the MCU definitions instead of what is printed on the PCB. Sourced from <https://www.pjrc.com/teensy/schematic_lc.gif>. The following table can be used to convert between the two.
+
+| PCB | MCU | Notes |
+|------- |-----|-------|
+| 0 | B16 | |
+| 1 | B17 | |
+| 2 | D0 | |
+| 3 | A1 | |
+| 4 | A2 | |
+| 5 | D7 | |
+| 6 | D4 | |
+| 7 | D2 | |
+| 8 | D3 | |
+| 9 | C3 | |
+| 10 | C4 | |
+| 11 | C6 | |
+| 12 | C7 | |
+| 13/LED | C5 | |
+| 14/A0 | D1 | |
+| 15/A1 | C0 | |
+| 16/A2 | B0 | |
+| 17/A3 | B1 | |
+| 18/A4 | B3 | |
+| 19/A5 | B2 | |
+| 20/A6 | D5 | |
+| 21/A7 | D6 | |
+| 22/A8 | C1 | |
+| 23/A9 | C2 | |
+| 24/A10 | E2 | |
+| 25/A11 | E21 | *[1]* |
+| 26/A12 | E30 | *[1]* |
+
+*[1]* - Currently not configured and may require extra work to implement.