Bruno L. Albrecht wrote: > i'm already trying the integrator...the problem is that the pulse that > comes from the encoder is almost an impulse! the capacitor doesn't > charge enough... So what characteristic does the the true pulse have that the background noise doesn't have? ******************************************************************** 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