Dennis J. Murray wrote: > First of all, Andre, the sequence should be: 00, 01,11,10, then repeat. I > assume your submitted sequence had a typo! The second, more important > point: if you just look at just one channel for a falling edge, you'll > miss a lot! Look at the sequence again and you'll see what I mean. > Channel A has a falling edge every TWO signal changes, NOT on every > change! Same for Channel B. FWIW, wouldn't that be a falling edge every /four/ state changes? And a (rising or falling) edge every two state changes? Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist