> > Right here is where my question arises. Since there is a low > > voltage connected to the pin which is configured as an input, > > then won't the PIC just sample the pin low and overwrite the > > change I just made? > > No, the PIC doesn't "sample" anything if you don't ask it to, by > executing some instruction that *reads* PORTD. Note that, as shold > be clear from the data sheet, the write-part and the read-part > of PORTD is actualy two different things. And there is no direct > connection between them either then by doing a read/write from > your code. Thanks - This is exactly the point that I was forgettting. Nick -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu