piclist 2002\06\26\151023a >
Thread: "digital" knobs/buttons
www.piclist.com/techref/index.htm?key=digital+knobsbuttons
flavicon
face BY : Erik Jacobs email (remove spam text)



> 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


<CGEHKNOKMKIIJJJLMJDLCENMEEAA.emj14@columbia.edu> 7bit

In reply to: <20020626.095916.-384021.4.haroldhallikainen@juno.com>
See also: www.piclist.com/techref/index.htm?key=digital+knobsbuttons
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) "digital" knobs/buttons

month overview.

new search...