Quote Originally Posted by PICante View Post
Hi skimask,

No, that’s the code I try to get to work!
I compile it in MCS (no fault messages) for 628A which is the one I got but it does not run. The code I run successfully is a hex code which I can’t change nor se how it is made “inside”.
I run my 628A on its internal oscillator in both cases.

Thanks!
Ohhh...ok...I get ya now...
Make sure your MCLR is pulled high regardless of the config bit settings and try it again, except instead of waiting a second for the LED to blink, wait for about 2 minutes.

If it blinks in 2 minutes instead of once per second, the PIC is running on the low speed internal oscillator (32khz - 48khz depending on which datasheet for the 628A you look at) instead of the high speed internal oscillator (4mhz nominal).

If that's the case, then, as stated before by others, do a bit of searchin' and learn how to play with config's and fuse settings.