Hi, I'm trying to monitor 5 encoders at the same time using DSPIC30f4011. I want to be able to use external interrupts so my count resolution will be good. But I have only a limited number of pins (since I need the other pins for other stuff), and limited number of external interrupts. So I want to use an edge detection circuit for this implementation. But I don't know where to begin. The thing I wanna do is, when the edge detection circuit detects an edge from the five encoders, the microcontroller can process which encoder was activated and serve it at the one external interrupt I have available in the dspic. The encoders can also simultaneously activate. I think I need other hardware to complete this, but I'm having a difficulty finding what. Thank you very much for your help!