2camjohn
Member
I have two sensors, which are essentially 'no' switches, wired with a pull up resistor.
I want to hook these up to the interrupt pin of my chip so that I can wake up the chip and read the data from these two sensors if the sensors change state.
The problem is my pic chip only has one interrupt pin.
I know that if I wire the outputs of both of these sensors together and to the interrupt pin then their states will interfere with each other. (eg if one is open, one is closed).
Is there any way I can wire both these sensors together so that a change in either is detected as an interrupt.
Thanks in advance
John
I want to hook these up to the interrupt pin of my chip so that I can wake up the chip and read the data from these two sensors if the sensors change state.
The problem is my pic chip only has one interrupt pin.
I know that if I wire the outputs of both of these sensors together and to the interrupt pin then their states will interfere with each other. (eg if one is open, one is closed).
Is there any way I can wire both these sensors together so that a change in either is detected as an interrupt.
Thanks in advance
John