Library for manual Encoders as used in user interfaces. Very simple, reduced and rock solid encoder library. Counts full pulses only. Inherent debouncing through state machine. Running on a regular timer IRQ. No IRQ jamming through bouncing. Immune to false edges giving unwanted counts when moving partial steps. Not depending on PinDetect or anything else. May be enhanced by adding acceleration and push button debouncing in the future.
Library for manual Encoders as used in user interfaces. Very simple, reduced and rock solid. Counts full pulses/steps only. Inherent debouncing through state machine. No time dependency for debouncing. Very tight code running in a regular timer IRQ. No IRQ jamming through bouncing edges. Immune to false edges giving unwanted counts when moving partial steps back and forth. Not depending on PinDetect or any other debouncing library. May be enhanced in the near future by adding acceleration and push button debouncing.
History
Changes for easy ebugging
2015-05-20, by eduardoG26 [Wed, 20 May 2015 18:16:22 +0000] rev 8
Changes for easy ebugging
20150326
2015-03-26, by eduardoG26 [Thu, 26 Mar 2015 14:21:57 +0000] rev 7
20150326
State Machine enhanced for more stability with high resolution bouncing encoders
2015-03-18, by eduardoG26 [Wed, 18 Mar 2015 16:41:59 +0000] rev 6
State Machine enhanced for more stability with high resolution bouncing encoders
Pushbutton Debouncing added.
2015-01-16, by eduardoG26 [Fri, 16 Jan 2015 15:33:21 +0000] rev 5
Pushbutton Debouncing added.
Save power when stop is called
2014-12-17, by eduardoG26 [Wed, 17 Dec 2014 19:35:25 +0000] rev 4
Save power when stop is called
First revision testing encoder & LCD
2014-11-26, by eduardoG26 [Wed, 26 Nov 2014 09:40:40 +0000] rev 3
First revision testing encoder & LCD
Formal changes
2014-11-25, by eduardoG26 [Tue, 25 Nov 2014 09:33:56 +0000] rev 2
Formal changes
First Revision
2014-11-25, by eduardoG26 [Tue, 25 Nov 2014 08:55:27 +0000] rev 1
First Revision
First Revision
2014-11-24, by eduardoG26 [Mon, 24 Nov 2014 17:06:08 +0000] rev 0
First Revision