All Forums
 Microsoft Windows CE
 General CE
 Rotary Knob Encoder Driver
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

chick

8 Posts

Posted - 20 Jun 2003 :  16:10:03  Show Profile  Email Poster
During a recent visit, I heard tell that you folks have some experience writing an interrupt-driven driver for a rotary knob encoder. We will be implementing a rotary knob on our Bitsy-X-based system and I was wondering if I could model our driver on an ADS code sample? Thanks!

ndemarco

5 Posts

Posted - 29 Jul 2003 :  12:45:29  Show Profile  Email Poster
We are also interested in this. Did you have any luck?

Nick
Go to Top of Page

ctacke

877 Posts

Posted - 30 Jul 2003 :  12:52:42  Show Profile  Email Poster
The rotary-encoder sample code we have was using a Graphics Master which has two available GPIOs that will trigger on both edges. The algorithm we use requires not only detecting the interrupt but knowing which edge it is. Due to the way the interrupts are connected int the BitsyX, the code would have to be modified quite a bit to disable and re-enable the interrupt lines after each interrupt, essentially toggling the edge the interrupt will trigger on.

We can provide you the Graphics Master code for you as a starting point, but again, it will require a bit of rework for use on other systems.
Go to Top of Page

t0671dl

27 Posts

Posted - 06 Oct 2003 :  09:41:52  Show Profile  Email Poster
I would also be interested as we are also looking into this user interface for our BitsyX design.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000