Hi all, [A bit sheepishly this time :-)] I though if an anlog pin was set as an output you could use it as an output pin capable of driving whatever. On the PORTA block diagram, I can see how reading the pin is disabled via an AND gate, but no mention is given about driving the pin hi or lo. I just spent a day fooling around with a new prototype PCB for the PicPocket programmer and I could not get the I2C eeproms to work. (Of course I blamed the PCB) I had RA3 controlling the SCL line, and analog enabled with RA0, RA1 and RA3 set as analog. (ADCON1 set as 04h) RA3 was set as an output, not as an input. This did not work. I turned off the A2D and it did work. I've now swapped the SCL pin to RC0 and all works OK with A2D enabled. Anyone know why? -- Best regards Tony ICmicro's http://www.picnpoke.com mailto:sales@picnpoke.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.