Quote Originally Posted by Gusse View Post
I have never included fuses to PicBasic code, always modified INC-files.
Delete line from code and check that you have following line in 16F887.INC

Code:
__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
Comparators are off after Power On Reset (POR), so if you haven't enabled those, then they are disabled.

BR,
-Gusse-
I never Fail to include them. To include the configs in your code, open the .inc file and install a semicolon just before the default config so,
Code:
__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
becomes
Code:
;__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
save it and start including them in your code without error. This way you can quickly adjust them, if you want to change something.