[simpits-tech] rotary encoder

Steve Wilson mafsix at hotmail.com
Thu Feb 5 14:25:24 PST 2004


I've seen a lot of rotary encoder stuff in the group, and until recently, I didn't understand what the fuss was all about.  With recent dialogue, I do - as far as what key combo is sent depending on which way the knob was turned.

This was something I always intended to take care of with some sort of simple rotary switch and my EPIC.  Say you have a rotary with 10 contacts.  That's 10 separate connections to the EPIC, and in the EPIC program, all one would need to do is set up some fairly straightforward logic to analyze where the rotary is at.  If the program simply stored the value associated with the current position of the knob, and when a different contact of the 10 was detected, it would be compared to the previously stored value, which would determine which way the knob was being turned.  This would give EPIC enought data to send whatever the appropriate key combination was for increment or decrement.

Is there a flaw in this thinking?

Steve W.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20040205/6162cfc8/attachment.html


More information about the Simpits-tech mailing list