>You just ignore the 1-0 transition on A. except that by sensing this you can get double the number of transitions per rotation. You just have to know that the state of the B side will be the opposite of what it would be for the 0-1 transition when going the same direction. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.