Were you able to see the LED flashing once?

main:
LED=0
pause 1000
LED=1
pause 1000
LED=0

Maybe, the internal oscillator wasn't set correctly.