keybrd library is an open source library for creating custom-keyboard firmware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

Teensy2_microcontroller.txt 1.1KB

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