Hello All,
I know this subject has been covered many times but I just don't understand how to setup a simple external interrupt.
I am using portA on my 16f88 for outputs to a stepper motor. Port B is for my inputs. Can someone show me how to set portb.2 as the interrupt? I wish to push a button and apply 5v to this pin and have the program restart. Please show the handler code and where it should be placed in a program. Many thanks to anyone that can help.