Dave,
I did try without the "PROTECT_OFF". I was testing different things and forgot I left that in there. I just tried what you sent me and I get errors with the #CONFIG and #ENDCONFIG. Maybe because I am using PicBasic ver 2.06C.
Anyway, I tried "@__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" and I still get error "Found directive in column 1. (__CONFIG)"
I never had problems with the 16F or 18F chips. I am confused!




Quote Originally Posted by Dave View Post
According to the 10F222.INC file in MPLAB there is NO "PROTECT_OFF" directive. Try the config without that directive and see if it works.

I have used the config like such in the past:
#CONFIG
__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ
#ENDCONFIG
and it works just fine.