Henrik,
I did have the .inc file line commented out (That is the first thing I usually do when working with a new pic). I tried
"__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" indented and not indented and
"@__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" indented and not indented. No combinations worked.
I went back to the include file and replaced the existing commented out line with "__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" and it worked.
Very strange that I couldn't get it to work in the PicBasic source, but at least it is working. I don't think I will be using 10F222 chips much anyway.
Thanks for you help.
Jim
Bookmarks