Pic18F47J13 external interrrupt?

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
I have the following coming from my Hall Effect sensor.

upload_2018-10-28_21-17-43.png

When the sensor trips the output goes from rail to zero volts. Do I need to invert the signal before sending it to the external interrupt pin Or can I use on falling edge?
 

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
It doesn't matter. You program the interrupt pin for either rising edge or falling edge.
You can also detect interrupt-on-change (PORTB), i.e. interrupt on both edges.

Great thanks.! That is what I expected. Just wanted to confirm.
 
Top