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.
mbed.bld@0:fb3e19364d48, 2016-01-26 (annotated)
- Committer:
- EmbeddedSam
- Date:
- Tue Jan 26 12:54:37 2016 +0000
- Revision:
- 0:fb3e19364d48
Working
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| EmbeddedSam | 0:fb3e19364d48 | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/6f327212ef96 |