> > Hi all! > > Hello Gabriel, > > > I have a question for all of you: > > > I have to connect one 16F84 to a line of an external circuit, wich is > waiting for > > receiving 255 bits from the 16F84. When this is done, the external > circuit will reply > > to the 16F84 with information, and then begins the loop begins again and > again. > > > May I connect two lines of the 16F84 (eg.: RB0 as int, and RA0) one > being > > configured as otuput and the other as input ? > > Yes. No problem. Oki-Dokie. > > > Would the Pic get burned ? > > No. Nope. No way. > > One thing though ... I suspect that that line RB0-RA0 will be the line > that > goes to the other device ? It's, I hope, not used as a bi-directional > line > ? Otherwise you will have the output of the other device linked to the > output of you PIC, and that's not allowed ... > > By the way: Why would you want to generate a interrupt from a signal you > are creating yourself (RA0 -> RB0) ? > > Greetz, > Rudy Wieser > It sounds to me as though Gabriel wants to perform half duplex comms over a 1 wire link. Thats OK, but when transmitting, you will have to disable interupts, and when receiving, you will have to tri-state your transmit pin (RA0). Regards Mike Rigby-Jones