----- Original Message ----- From: Olin Lathrop To: Sent: Tuesday, October 17, 2000 8:25 AM Subject: Re: [PIC]: analog pins > > > I though if an anlog pin was set as an output you could use it as > > > an output pin capable of driving whatever. > > > > That's true, Tony. > > No, it's not. Some I/O modules will control the pin regardless of the TRIS > setting, or otherwise "take over" the operation of the pin. The A/D is a > good example of this. The datasheets I've read have said that you must TRIS analogs as inputs if you want to read the analog voltage. They say that if you TRIS the pin as an output, the A/D can still happen, but that it will convert the pin voltage as driven by the digital output. I stand ready to be corrected. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST