I would like to try adding buttons and maybe a optical transistor (for IR) to my Pi. I've read several places advising the use of a 1k resistor as a buffer, but is that needed or would the input pin be ok shorted directly to ground or 3.3v? From what I've seen, it should be safe as long as the pin isn't switched to output, but I also don't want to blow up my Pi already :-)
Also, is it possible to use an optical transistor this way?
As for the optical transistor - I wasn't very clear. I'm thinking of an IR receiver like what is found in a TV/VCR/DVD player. I would like to be able to record the code output by the TV remote and store that for playback (though an LED). Is that even possible?
– BAReese Sep 10 '13 at 17:41