STC8H Quadrature Encoder mode details
I found the code for Quadrature Encoder mode, but have some incomplete issuesa) It does not state anywhere where the pins map, to apply the Qa,Qb signals.
After many hops through the data my best guess is Quad defaults areP1.0& P1.2 ?
b)There is no example for Quadrature Encoder mode, applies to PWMB ?
Are there any links for a PWMB example ?
Hello, you can refer to our PWM encoder example program first!
https://www.stcaimcu.com/data/attachment/forum/202303/18/104027hkj3wqv5qiz58xvb.png
页:
[1]