I am using a Teensy 2.0 to interface to two quadrature rotary encoders.
Each encoder is 2048 CPR. Rotation rate is
I'd like to use 2 interrupts for each encoder. However, the complication is that I also have a BT module
which is connected up to the HW TR and RX pins (7 and 8). These are usually 2 of the 4 HW interrupt pins.
So, my thought is:
1. use one interrupt for each encoder ... pin 5 and 6 ... and use each encoder in one interrupt mode
Is there another way I can run with two interrupts for each encoder, to increase my resolution?
Each encoder is 2048 CPR. Rotation rate is
I'd like to use 2 interrupts for each encoder. However, the complication is that I also have a BT module
which is connected up to the HW TR and RX pins (7 and 8). These are usually 2 of the 4 HW interrupt pins.
So, my thought is:
1. use one interrupt for each encoder ... pin 5 and 6 ... and use each encoder in one interrupt mode
Is there another way I can run with two interrupts for each encoder, to increase my resolution?