Dwayne Reid ha scritto: > He's referring to a post I made where I showed my IIR filter (written > in assembler). I'll paste a copy below. thank you Dwayne :) Basically - pseudocode: Take 20 samples/sine for each sample take previous sum divide by 20 subtract this (sum/20) from previous sum add new sample to sum At the end of 20 samples... then what? -- Ciao, Dario -- Cyberdyne -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist