1. 27 Nov, 2018 1 commit
  2. 26 Nov, 2018 1 commit
  3. 23 Nov, 2018 2 commits
  4. 29 Oct, 2018 2 commits
    • Sean Lanigan's avatar
      Require using callback · 8f7e38f6
      Sean Lanigan authored
      Using the callback to take action on an encoder turn was initially
      optional, but since it is much more efficient to use interrupts and
      callbacks rather than polling this has been made mandatory. It is still
      possible to manually tell the Encoder class to poll rather than use
      interrupts, but for consistency this will still call the callback.
      
      Also tried to make some minor performance improvements.
      8f7e38f6
    • Sean Lanigan's avatar
      Add interrupt handler · 5a83f4ca
      Sean Lanigan authored
      Using interrupts is easy in MicroPython, and it makes sense to do so for
      a rotary encoder - this commit introduces the ability to specify a
      callback to the Encoder class, which will be called when a rotation is
      detected.
      5a83f4ca
  5. 28 Oct, 2018 2 commits