i know someone is going to say something about reading the datasheet, or looking in the manual, but im having some trouble with this, and im sure its just something small.

heres the code, and im flashing a LED on D.4 and setting all the config stuff in my programmer, since i cant figure out the defines.

<code>
DEFINE OSC20
PORT.4 = 0

start:
high PORTD.4
pause 500
Low PORTD.4
pause 500
goto start

end
</code>

the hardware is a PIC18F6680, with a LED and resistor connected to ground.

the config fuses HS OSC, brownout 2.0v, watchdog enabled, lvp disabled