On Tue, Jun 11, 2013 at 9:24 PM, Mr Smiley wrote= : > Hi, > > Are you counting between mechanical indents on the encoder, if so, there = are four edge changes between 00 and 00 > > A 0 1 1 0 0 > B 0 0 1 1 0 > > :o) Ah, yes. Indeed. I am getting 4 interrupts for the same reason. I guess, the code can be simplified. 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 .