Hi All
I am currently programming a Pickit board trying to trace a "missing tooth" ( interrupt) on the board.
My first task is to flash the middle LED 4 times at a rate of 1 flash per second - done.
I have code to follow the interrupt which works in a completely seperate program - great
what I am struggling with is when i flash the LED 4 times at once per second i want to then jump to my LED flashing following the interrupts but my code just stops! I have set up by code with "firstrun" to ensure it only counts the 8 times once and stops. Can i not just create a true statement as below which then allows its to loop following the interrupts.
at the moment my led flashes 4 times half a second on half a second off 4 times and then does nothing. I am sure I am doing something simple wrong but I am pulling my hair out now!! any one notice something I am doing wrong ? I think when it drops into first run my code is stopping then not moving back into main.
I have attached my code as attachments as it it will be a bit messy otherwise...