Hi all,

I was wondering if someone could help me with an approach to this problem. I have a pressure transducer connected to a 12 bit ADC being read by a 16f876. The problem I have is that when I read the data is varies about 20 counts around the mean.

I have captured the data via debug commands in to a text file and analyzed in a spread sheet and I know if I take 128 samples and divide it by 128 that it averages out the variation but..... 128 samples summed of 12 bits exceeds the 16 word size.

Could someone suggest an approach for me.

Thanks, Paul