haytham
Full Member level 4

I am sampling several voltages on a somewhat noisy PCB using the A/Ds on a PIC16F877 device. The AD readings come back "jittery" and I would like to write a filtering/voting algorithm to process these readings before displaying them. Can anyone point me to a simple algorithm for doing this (preferrably in assembly)?