On Mon, Jun 10, 2013 at 9:32 PM, wrote: >> But, still the issue persists that the increments are in the order of 4,= decrements >> too.. > > I haven't worked through the code, but the coder could be using every edg= e as a count, thereby getting a 4x resolution, but only updating the counte= r on a certain edge. > > Does this make sense to how you work through the code? Ummm ... bingo. PORTB change on interrupt will cause 4 changes altogether, rather than 1.! Thanks, much appreciated. Regards, Manu --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .