Rotary Encoder Help

I Found something that can off-load the direction detection.

http://profmason.com/wp-content/uploads/2009/01/7474encoder.jpg

-bino-