At 11:27 AM 3/19/2010, Olin Lathrop wrote: >Dwayne Reid wrote: > > He's referring to a post I made where I showed my IIR filter (written > > in assembler). I'll paste a copy below. > >You are getting way ahead of the requirements. I haven't heard a reason why >a IIR filter is needed, and you didn't explain what exactly your IIR filter >is trying to filter. Looking at implementation details at this stage is >pointless. Sorry - looks like you missed the previous part of this thread. My IIR filter is used to reduce the ripple as measured from a line voltage sampling network. Basically, that is a half-wave rectified sine wave fed into a RC network, then into the PIC. He had asked for advice on measuring a line voltage, I had replied with a description of my most recent version which is a combination of hardware and a software filter, he then asked for a copy of my IIR filter. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist