Em 9/7/2010 08:55, Adam Field escreveu: >> I inserted some 10 uS delay between SDA and SCL lines changing the >> >> state. Still no success. >> > Like everyone else has said, this is most likely a read-modify-write > issue. Use a register as a "latch" like on the 18F series. As in: It doesn't seem to be really a RMW problem. RMW will make a pin have the *wrong* state ( 1 or 0 ), but not an *undefined* state. The OP said that the pin stays at 1V for a long period (over 10us if I understood correctly). This is not '1' nor '0'. Things to check: 1) Is the pull-up really connected? Isn't it of a too low value? 2) Is the code really outputting a '0'? (check bank selection, perhaps TRISx is not being written). Isaac __________________________________________________ Fale com seus amigos de gra=E7a com o novo Yahoo! Messenger = http://br.messenger.yahoo.com/ = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist