L = Last result (Which is N0 in your formula below). I was pushing this off fearing a nightmare of assembly code, but it was actually quite easy once I plotted out my calcs on paper while waiting on an oil change. Cheers, -Neil. On Thursday 12 May 2005 12:24 pm, Mark Rages scribbled: > What is 'L'? > > I've done simple IIR low-pass filtering like this: > > N1=N*(K-1)+N0*K > > Where N1 is output, N is input, and N0 is last input. > > Regards, > Mark > markrages@gmail -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist