I made a little SRX Breakout board for our talons, as our ribbon cable to encoder cable solder joints were always a bit janky and heatshrink tumors bother me. I stuck some LEDs on the encoder A and B channels and the limit switches, so that you can tell if the encoders/switches are connected and functioning without software. While making this post, I think I just realized that I can make all my semiconductors the same by assuming high=false low=true, as the limit switches operate that way but the quad encoder might be that way too. I assumed low=false high=true for the encoder, but now I think it probably doesn't make a difference. Maybe I should look it up.
Schematic:
http://i.imgur.com/9ICCHRE.png
Board:
http://i.imgur.com/4M2SVRO.png
link to source files
https://drive.google.com/drive/folde...EE?usp=sharing