Using an incremental rotary encoder?


Results 1 to 6 of 6

Threaded View

  1. #5


    Did you find this post helpful? Yes | No

    Default Re: Using an incremental rotary encoder?

    I think I've got it now. I'm not really using a command statement like PULSIN. I'm simply checking the state of the two pins connected to the encoder and I can use the XOR operator to interpret the Gray code as moving CW or CCW. Does that sound about right?
    Last edited by keithv; - 12th January 2016 at 21:09.

Similar Threads

  1. Reading incremental encoder interupt
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 1st March 2017, 12:50
  2. New approach to Rotary Encoder
    By Ioannis in forum Code Examples
    Replies: 90
    Last Post: - 11th July 2013, 21:05
  3. Calculate Distance Using Rotary Encoder
    By guanerrr in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 4th May 2012, 16:40
  4. Rotary encoder help (not 'counting steps)
    By Elnino in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th October 2009, 22:03

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts