The code was written to read quadrature count. Any rotary encoder with two channels will generate quadrature count.
Al.
Type: Posts; User: aratti; Keyword(s):
The code was written to read quadrature count. Any rotary encoder with two channels will generate quadrature count.
Al.
Use the code in post#27, (new approch to rotary encoder) is more efficient and you can achieve even higher frequency.
Cheers
Al.
Hi Ioannis, you cannot use the wsave variable outside the DT interrupt since such a variable is in use within the routine.
wsave VAR BYTE $20 SYSTEM ' location for W if in bank0...