Gday Sami, Use an open drain pin on the pic,(eg RA4 on a 16c7x) and set it to be an output, then use it as normal, but when you read it you get the real value of the pin not what you are outputing. Dont Forget The Pull Up Resistor. regards Lee McLaren > Hi Sami (Sami Khawam), in <34A81FF3.65E5@unet.univie.ac.at> on Dec 29 you wrote: > > > How can I detect, in an open-drain line, > > a High signal from a device while the PIC > > is outputing a Low signal? > > Can a pin be read when the TRIS is set to > > output?