This program counts the frequency of a single output encoder on pin D2 it can be changed to suit your encoder by changing the defines at the top and playing with the sample time.

Dependencies:   mbed

History

Working default tip

2016-01-26, by EmbeddedSam [Tue, 26 Jan 2016 12:54:37 +0000] rev 0

Working