ON 20040803@3:22:45 AM at page: http://www.piclist.com/techref/microchip/language/c/io/qenc-dk.htm#38202.140787037 Ken T Macfarlane[KTM-psa-R53] Questions: How many machine cycles does this take to run (worst case)? This sets the maximum rotational speed of encoder that can be tracked (tempered by the processor clock speed and the encoder resolution in lines/rev, obviously)