Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
keybrd/doc/Teensy2_pinout.txt

38 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-05-09 14:05:08 +00:00
Teensy 2.0 Pinout Diagram
2016-05-09 19:41:29 +00:00
-------------------------
2016-05-09 14:05:08 +00:00
USB is on top in the diagram.
Inner columns are pin numbers, outer columns are port+bit pin name.
```
ground GND USB VCC +5v power
B0 0 21 F0
B1 1 20 F1
B2 2 19 F4
B3 3 18 F5
B7 4 17 F6
SCL D0 5 16 F7
SDA D1 6 15 B6
D2 7 14 B5
D3 8 13 B4
C6 9 12 D7
C7 10 11 D6 Do not use pin D6 for scanning keyboard matrix
LED on pin D6 pulls voltage down and will always return low
2016-05-09 19:41:29 +00:00
BOTTOM EDGE (USB on top, pins from left to right)
2016-05-09 14:05:08 +00:00
PIN# port+bit function
23 D5
VCC 5v power
GND ground
RST reset
22 D4
2016-05-09 19:41:29 +00:00
MIDDLE (below USB, pins from left to right)
2016-05-09 14:05:08 +00:00
PIN# port+bit function
24 E6
Ref
```
2016-05-09 19:41:29 +00:00
Teensy 2.0 pin assignment on https://www.pjrc.com/teensy/pinout.html
Teensy 2.0 pinout with pin numbers on http://www.pjrc.com/teensy/td_digital.html
2016-05-09 14:05:08 +00:00
Identifying and naming ports is useful when instantiating RowPorts and ColPorts.
Keybrd library was tested on Teensy 2.0