I've never done it before, so it pays to ask. If I configure 2 pins on a pic, one to output the other to input, can they be connected directly to each other? Maybe standard practice would be to use a resistor or maybe a diode between?
-- thanks