At 11:44 25/06/2002 +0000, Drew Vassallo wrote: >>The result is that the error has been reduced as I'm now >>reading $002 instead of $004 or $008 in the 'unused' channels. > >I've never seen a "noise problem" when using the A/D. Every time I pull the >pin to ground (turn the pot to zero) it reads 0x000. Not 0x002 or 0x001, >but 0x000. I also have one MPLAB-ICD demo board with a 16F877 that has a potentiometer connected to one of the analog inputs, and there I also do read a zero if I pull the pin to ground via the pot. However this device runs on a much slower clock (about 2 MHz) so an hypothetical noise problem would be less evident there. >There must be something else causing it not to drop all the way. But at >320us, it sounds like you're giving it plenty of time. Have you tried 500us >just to see? How about 1ms? I tried, but doesn't help.. Thx, G. >--Andrew > >_________________________________________________________________ >Join the world s largest e-mail service with MSN Hotmail. >http://www.hotmail.com > >-- >http://www.piclist.com hint: To leave the PICList >mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu