> to position. When in one of its stable positions, both sets of contacts > are open, so you can connect multiple encoders in parallel and adjust any > one of them and have the PIC read it fine. I managed to do it with > polling instead of interrupts. On detecting that the first contact had Well, what method did you use to "detect" that the "first" contact was closed? I'm thinking that if I AND the two outputs from the encoder, that could give an interrupt. Then if you just polled until the state changed, you'd see which came up next (either 01 or 10) and that would tell you what direction you're going... yeah? -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads