Does anyone know if there is a tutorial on interrupts for Pin Change? I have a controller I designed that has several photo sensors and magnetic sensors that control two outputs. Those sensors can change at any time, it is completely random, so it would make sense to run segments of my code based on the a pin change, but I have no idea how to actually use a pin change interrupt and I was not able to find anything in the tutorials for IO. If I could see a simple example of the following psudo code/sequence using pin change interrupt I think I could mostly take it from there.
Pin X goes high
Output x goes high