Issues Reading an encoder

Thank you for pointing to this library. I am using it and the code is so much cleaner!