Quote Originally Posted by mister_e
so it seems you didn't read the FAQ
pay attention to post #5 of the link bellow
http://www.picbasic.co.uk/forum/showthread.php?t=543
Thanks for the link, and whist I did look at the FAQ's.. I must admit that I didn't scroll down much further than the original post - Sorry !

However the good news is that the LED is now pulsing away on GPIO 0

However I really want to learn from this and I'm a tad confused (easy to do). Whats the difference between having the line in the program code and the INC file. ?

I found that if I removed the line
Code:
@ __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON
from the programing code and left the INC file intact the program compiled but the LED did nothing. - Reming out the line in the INC file and adding it to the code file, resulted in the code compiling without errors and the LED is pulsing away fine !

Should (or is that could) I use the INC file and have some statement in the programming code to call this file (something like include 12F675.inc)

Also, will I have to modify every INC file for every PIC that I use so i don't get this problem again ?

Cheers

Malc