Program does not work (by Sean)
I used the sample program of LDmicro, shown in the picture, on my PIC16F877A. I used a 20MHz crystal as my oscillator and I also configured the bits of my microcontroller before generating the IHEX file. Upon sending the code through my microcontroller using a PICkit 3 and MPLAB X as my program, I noticed that my program does not seem to work. The LED I connected in RB4 of my microcontroller already turned ON upon receiving the program. Pressing the button I assigned on RB3 do not do anything.
What do you think went wrong on my setup or program? What should I do?