>This is probably the simplest low pass digital filter ever invented; the >formula is: >y[i] = y[i-1] + m*( x[i] - y[i-1] ) With y[i]=x[i]-x[i-1]+m*y[i-1] you would have the simplest digital high-pass filter, just in case there's still some space left in program memory. Rainer