Will wrote: > Tacq= Aquisition time= 20usec > n= Number of samples for good waveform display = 100 > f= Frequency= 50hz, but for rectified ac it is actually double = 100 > > 1/100 = 0.01 (T= 1/f) > 0.01/Tacq = 0.01/20u = 10/20m= 0.5k= 500 > > namely, we should be able to obtain 500 samples per waveform on > screen, [...] Maybe you should read up again the ADC section of the manual and pay attention to the difference between acquisition time and conversion time. The conversion time is what you always have (and you seem not to be considering it here). The acquisition time is what you only need after you switched channels. If you are reading only one ADC channel, you usually can use an acquisition time of 0. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist