Closed GoogleCodeExporter closed 9 years ago
Been messing around with encoder libraries, so if you want help testing this
let me
know. I think combining the interrupt-driven one for speed with the all-pins
one
(Quadrature) for flexibility would be good. We could easily explain that if
you use pins
2, 3, it uses the interrupt routines and is fastest, but that you can use the
other pins if
you prefer, at the expense of speed.
Original comment by tom.i...@gmail.com
on 3 Jan 2010 at 2:49
Original comment by dmel...@gmail.com
on 4 Jul 2010 at 2:59
Paul Stoffregen's encoder implementation looks quite good. I like that he
deleted encoder.attach(); for the simpler Encoder myKnob(a, b); I'd recommend
it.
http://www.pjrc.com/teensy/td_libs_Encoder.html
Thanks, Paul for sending it my way.
Original comment by tom.i...@gmail.com
on 6 Jan 2012 at 11:26
Having tested Paul's library now, I can say it's very solid, even on
non-interrupt pins. It works well with multiple encoders as well. I highly
recommend folding it into the core libraries.
Original comment by tom.i...@gmail.com
on 6 Feb 2012 at 4:53
The library is now available through LIbrary Manager.
Original comment by c.mag...@arduino.cc
on 3 Jun 2015 at 9:58
Original issue reported on code.google.com by
dmel...@gmail.com
on 2 Jan 2010 at 5:02