You have 17 colums showing and 5 rows. This requires 22 IO pins.
Teensy 2.0 has 25 IO pins.
You could wire them up in a more effective or compact manner, using less IO pins, but this should work.
Remember to not wire anything up to the power gnd and rst pins on the end of the teensy, and I recommend avoiding PD6 as it's the LED pin it sometimes has a problem.
Show Image
(http://www.pjrc.com/teensy/pinout2a.png)
Personally I'd wire it up a little differently but that's purely an aesthetic choice.
Thanks for the tip on avoiding PD6. Do you have any prior builds or samples on how you would wire it up?
If you use up all your pins that won't leave enough for LEDs. How about merging the tenkey area into one big column? But I admit that I don't know how to do that in practice.
I wasn't planning on any backlight leds in this build, maybe just two indicator lights, but I have enough pins for those two.
If you use up all your pins that won't leave enough for LEDs. How about merging the tenkey area into one big column? But I admit that I don't know how to do that in practice.
You would need to connect all the diodes together to make them a row, then connect each switch to one of the existing columns in a meaningful way. It only saves two pins and would look messy, so isn't worth the confusion - 3 pins is enough for LEDs.
@telnet the only inefficiency I see in terms of wire length is that Escape could be connected to the end column, saving you maybe 1cm :))
I might switch that escape key column depending on where the teensy goes.
Out of curiosity regarding leds, if I were to add them on, what else would I need other than resistors and the leds?