I have the following coming from my Hall Effect sensor.
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?
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.
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.