Hi joe,

I just buy a PIC kit and try to program my development board..I manage to program the PIC using PIC Kit 2, but led is not going to blink..this is my code:

DEFINE OSC 20

LED VAR PORTC.5
trisc = $00

MAIN:
HIGH LED
PAUSE 500
LOW LED
PAUSE 500

GOTO MAIN

maybe there are mistakes in the code? For your information i use the code to program PIC16F877A. Communication from the PIC Kit 2 to my board is ok..and programmed successfully.

I have another question. I let say my oscillator did not work, is it the programming stage failed? because I not check the oscillator yet using scope.