David Koski wrote: > > Use the edge of one output to clock in the other output. CW will produce a data > that is opposite level of CCW. Am I missing something? When A goes high you register one unit movement, and B tells you the direction, ie if B is high you went clockwise and if B is low you went CCW. 2 PIC inputs, easiest thing in the world. ;o) -Roman PS, always use a schmitt input logic gate or schmitt PIC pin to detect the encoder, to avoid the jitters. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body