Hi,

Im using a PIC 16F877A. I want to read multiple analog inputs at the same time and then compare their values. I have read somewhere that after the first ADCIN, I have to delay a few miliseconds before doing ADCIN again.

Can someone explain this please ? How long should I have to delay and where should I delay ? Anyone have an example code ?

Also, what else should I know about taking in multiple analog inputs, as in potential problems, etc ? I've read a bit about noise problems but there wasnt much explanation .. Any links will be very helpful. Thanks everyone.

edit: Ive looked at the datasheet but couldnt find any useful info.