Jason Wambach wrote: > If I turn > off the switch (sw) and only read either the pot or the thermistor, it > works. If I oscillate between the two, neither reads an analog value > properly. What value does it read? This sounds like insufficient acquisition time. When scanning multiple analog inputs, I usually use an interrupt to get each A/D reading. The best thing is to switch to acquiring the new channel immediately after grabbing the data for the previous one. That way the A/D has most of the time between readings for acquiring the channel and settling the value. You still have to make sure of course that the total time is long enough at least for the minimum acquisition and the minimum conversion. Both you're inputs are slow, so this should be no problem. How often are you doing an A/D conversion? How is this being triggered? What causes your code to grab the result of a conversion? ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist