Forked from Blog

http://www.hessmer.org/blog/2011/01/30/quadrature-encoder-too-fast-for-arduino/
just in case it vanishes