On Wed, 28 Oct 1998 15:52:25 GMT+200 Peter Howells writes: >Good day. >I am new to the pic world and hope you can help. >I'm using a 16C71 to convert 2 analog inputs and then send these >values out the serial port. The serial comms are working perfectly - >my problem is with the a/d conversion. As the value on one channel >is adjusted, it affects the other channel, i.e. on the serial output >I get a change in value on both channels as I adjust only one channel >while keeping the voltage on the second channel constant. >Is there a time period that I have to wait between conversions? The >two inputs that I'm using are RA0 and RA1. Yes, there is a minimum required sampling time between when you set the mux and when you start the A/D. In my Microchip book, it's on page 10-114. A typical value is 12uS. I ran into the same problem using some external muxes and had to increase the sampling time to 20uS. Harold Harold Hallikainen harold@hallikainen.com Hallikainen & Friends, Inc. See the FCC Rules at http://hallikainen.com/FccRules and comments filed in LPFM proceeding at http://hallikainen.com/lpfm ___________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com/getjuno.html or call Juno at (800) 654-JUNO [654-5866]