Hey guys and gals,

I have been working none stop for the last 3 days trying to get my pic to just blink an led. The pic is a 16F628. I am using the 18 pin prototyping board from http://www.dhmicro.com/prod_r18i.html I think I have hooked up everything correctly. No caps are blown. I am using the T0-220 v-reg so I can source more than 100milliamps. Anyways Here is my code. I am using Pic Basic Pro and the Epic Programmer. This is to flash the led on PORTB.4 and I am trying to use the internal oscillator.

@ DEVICE pic16F628, INTRC_OSC_NOCLKOUT ' system clock options
@ DEVICE pic16F628, WDT_ON ' watchdog timer
@ DEVICE pic16F628, PWRT_ON ' power-on timer
@ DEVICE pic16F628, MCLR_OFF ' master clear options (internal)
@ DEVICE pic16F628, BOD_ON ' brown-out detect
@ DEVICE pic16F628, LVP_OFF ' low-voltage programming
@ DEVICE pic16F628, CPD_OFF ' data memory code Protect
@ DEVICE pic16F628, PROTECT_OFF ' program code protection


TRISB.4 = 0


LED VAR PORTB.4 ' alias PORTB.4 to LED

loop: High LED ' turn on LED connected to PORTB.4
Pause 500 ' delay for .5 seconds

Low LED ' turn off LED connected to PORTB.4
Pause 500 ' delay for .5 seconds

GoTo loop ' loop and blink LED forever

End


Thanks in advanced