I have an external button.
The button's output is normally HIGH, and when i press it, it falls down to LOW (until i release it and it rises back up to high).
A tri-state input pin of MCU is connected to the button's output.
The problem is this:
When the input pin is set to 'Falling Edge of Input gives interrupt', then every time that the MCU is powered up, i receive a one-time interrupt.
It doesnt happen when the input pin is set to 'Rising Edge of Input give interrupt'.
Do you have any idea why does it happen?
Thanks alot!
The button's output is normally HIGH, and when i press it, it falls down to LOW (until i release it and it rises back up to high).
A tri-state input pin of MCU is connected to the button's output.
The problem is this:
When the input pin is set to 'Falling Edge of Input gives interrupt', then every time that the MCU is powered up, i receive a one-time interrupt.
It doesnt happen when the input pin is set to 'Rising Edge of Input give interrupt'.
Do you have any idea why does it happen?
Thanks alot!