Good day to all. I've been a long-time PIC programmer and thought that I knew all=20 there was in regards to Read-Modify-Write issues with early PICs=20 (12-bit and 14-bit core devices). But I'm doing a re-write of an old=20 project and ran into a question that I don't have an answer for. The situation is this: PIC pin is set as output and is low. Now I=20 turn the pin into an input and read the level on the pin. This level=20 might be HI or LO. Now I turn the pin back into being an output. Question is: what is the (output) level on the PIC pin *if* the level=20 had been HI when the pin was read? In other words, pin output latch used to contain a logic LO. The pin=20 was turned into an input and read a logic HI. Does the pin output=20 latch update to reflect the level that was read when the pin was an input? My gut says that the pin output latch *does* change from LO to HI. Any thoughts? dwayne --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .