Search found 1 match
- Sun Dec 15, 2019 3:12 am
- Forum: General Discussion
- Topic: using pulse counter to read optical (quadrature) decoder?
- Replies: 6
- Views: 19004
Re: using pulse counter to read optical (quadrature) decoder?
Stumbled upon this thread looking for 4x encoder solution. clarkster is really close: to implement 4x mode, you have to use BOTH 0 and 1 channels of a single counter, not just PCNT_CHANNEL_0, as both feed the same counter value. For channel 0, define encoder input A to be CTRL, and B to be SIG. For ...