On Wed, 15 Apr 1998, Andrew Warren wrote: > Bob Blick wrote: > > I'm using a 16C74A with two analog inputs. ADCON1 is set 04h, so I > > actually have three analog inputs. Is it OK to use the extra analog > > pin as an output, as long as I set TRISA accordingly? > > Bob: > > Yes, it's ok... Just remember that the PORTx bit corresponding to > that pin will always read "0", so read-modify-write instructions to > that port (including "BSF" and "BCF" instructions) will make that > pin pull low. Good point. I imagine a BSF or BCF on that pin would be OK, but not on any other pin on that port. I'll juggle them around so the rest will be inputs. Thanks again! -Bob