Bob Blick wrote: > > Hi Tony, > > I've used a 16C73A in this mode. The key for me was that you can't use any > instruction that does a read-modify-write. In other words, if you write to > port a, no problem. But if you do any bit write operations ON ANY PIN of > port a, it will clear your "analog" pin. So always use a shadow register. > > I was using it for the clock line of a 93LC46A and it worked reliably as > long as I did what I described. > > Cheerful regards, > > Bob Hi Bob, That would explain it - thanks. Analog pins always read as '0', so '0' gets written back regardless of the output state, and I was using BSF, BCF. -- Best regards Tony mICro'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.