qmk_firmware/keyboards/handwired/onekey/teensy_lc
Joel Challis 0fa217a5b7
Align ChibiOS I2C defs with other drivers (#14399)
* Align ChibiOS I2C defs with other drivers

* Update keyboards/xelus/valor_frl_tkl/config.h

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-12 15:41:33 +01:00
..
chconf.h Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
config.h Align ChibiOS I2C defs with other drivers (#14399) 2021-09-12 15:41:33 +01:00
halconf.h Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
mcuconf.h Enable OLED support for Teensy 3.2/LC (#7591) 2020-07-26 07:50:56 +10:00
readme.md [Keyboard] Refactor of onekey to support multiple development boards (#6017) 2019-06-26 10:52:09 -07:00
rules.mk Allow for ChibiOS 20.x (master), as well as enabling ChibiOS-Contrib HAL. (#8272) 2020-03-01 11:50:49 +11:00

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.