Hi, > Al Young wrote: > > It uses a pair of D-flipflops to generate 2 separate pulse > > streams, Up and Down. These 2 streams are used as the > > clock inputs for TMR0 and TMR1. I'm totally agree with Jan-Erik... Two timers for one encoder.. Moreover, if you use mechanical encoders, you will not be able to easily debounce the encoder outputs.... Nicolas -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics