Dwayne Reid wrote: > 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. So then how did the transformer get wired up in such a inconvenient way? Which rocket scientist suggested clipping half the signal? ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist