Re: Old BMS Software Thread
Posted: Tue Nov 23, 2010 6:41 pm
That's it..
So for the record, when using the Picbasic Pro compiler (2.60a) with the MPASM assembler you have to:
1. Comment out the DEVICE statements:
2. Add the following line:
3. In your c:\pbp\12f683.inc file comment out the __config line:
Thanks for the help guys.
So for the record, when using the Picbasic Pro compiler (2.60a) with the MPASM assembler you have to:
1. Comment out the DEVICE statements:
Code: Select all
'@ DEVICE PIC12F683,MCLR_OFF
'@ DEVICE PIC12F683,BOD_OFF
'@ DEVICE PIC12F683,PROTECT_OFF
'@ DEVICE PIC12F683,WDT_OFF
2. Add the following line:
Code: Select all
'Below used with MPASM Assembler
@ __config _FCMEN_ON & _IESO_ON & _BOD_OFF & _CPD_OFF & _CP_OFF & _MCLRE_OFF & _PWRTE_OFF & _WDT_OFF & _INTOSCIO
3. In your c:\pbp\12f683.inc file comment out the __config line:
Code: Select all
else
LIST
LIST p = 12F683, r = dec, w = -302
INCLUDE "P12F683.INC" ; MPASM Header
;__config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF
NOLIST
endif
Thanks for the help guys.