im using 16F877A and my hardware is not working. my program supposes to light up LED for 2 secs after releasing a button. just recently changed to MPLAB. below is my code:
well, i don't have a circuit diagram with me but it is just simply connecting 5v or gnd (check active low or active high of your MCU) to port c then output port D to LEDs then gnd. ;-) and this code needs to be amended due to some errors.