AGCB
Member
I have been trying to learn to use PICs with 16F84A. I have written several programs as I go through the books by David Benson and online tutorials. Untill now I have gotten each to work after 2 or more trys. The one I am working with now is a interupt using the INT pin. The main program works fine and the interupt occures as it should but it does not return to the main program after the interupt. One other thing is that no matter what number I put in the FLASH_N file, it flashes 8 times. This was not the case at the beginning. I had d'4 in and it flashed 4 times but something changed. The program is supposed to flash portb bits 7, 4 and 1 at 1/2 second itervals and then upon interupt flash 7-4 at a faster rate then return to main. I have studied and changed the program multiple times to no success. Anyone wish to take a look and give me some guidence? Your time would be greatly appeciated. This is my first time posting an attachment. I am using MPLAB and a PicKit 2 programmer