The best place to get the configuration string is in the template files. They're located in C:\Program Files\Microchip\MPASM Suite\Template\Code. The one for the 12F683 is called 12F683temp.asm and contains the following line,
As I said earlier, the template files are a really good starting point for any project. They even contain the errorlevel -302 as standard!Code:__CONFIG _FCMEN_ON & _IESO_OFF & _CP_OFF & _CPD_OFF & _BOD_OFF & _MCLRE_ON & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT
Mike.

Reply With Quote