If a push button is connected to PCINT3 and the avr configur
If a push button is connected to PCINT3, and the avr configured corecclty for the interrupts on PCINT3. How many times is the interrupt triggered if the button is pressed 3 times using the atmega328p? Why?
Solution
It depends on the program.
For example if you pressed the first time, it will go to the vectored adress of that interrupt and the program starts executing. If you press again the interupt for the second time while the program is running. it again come back to vectored address of that interuupt and starts executing the program. So if you press 3 times , every time it will start from starting onwards.
