I am trying to set the config register up by putting the following line in>>
__CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_ON & _PWRTE_ON & _WDT_OFF & _INTRC_IO
but when i build it i get error message "illegal character ," presumably the comma in the line after config1.
so i take the comma out and get another message "missing operator"
yet if i put this line in >> __CONFIG b'10111110010100'
it builds ok but with a nag warning.
so what am i doing wrong????
__CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_ON & _PWRTE_ON & _WDT_OFF & _INTRC_IO
but when i build it i get error message "illegal character ," presumably the comma in the line after config1.
so i take the comma out and get another message "missing operator"
yet if i put this line in >> __CONFIG b'10111110010100'
it builds ok but with a nag warning.
so what am i doing wrong????