here is the mikroC code :

void main() {
PORTB = 0;
TRISB = 0;
while (1) {
PORTB = ~PORTB;
Delay_ms(100);
}
}

and

pin4 ---> vcc
pin5 ---> gnd
pin9 ---> led+resistor(470 ohm)
pin14 --->vcc
pin15 & pin16 ---> crystal + 20pf capacitor