Update: Timers and interrupts

A project log for EncoderLib

Micropython library to handle a rotary encoder

brambram 08/28/2016 at 14:060 Comments

There is a new version of the library available that uses a timer instead of a non-blocking delay. This has no affect on the function of the library but makes the code simpler to understand and read.

I have also been working on using pin interrupts instead of checking the pins every 5ms. There is some code in the dev branch on github but it doesn't work yet. The code gives a memory error on pin interrupts.