GoldStar
- 12th May 2009, 05:03
Hello, I just found PBP at my local college and I am trying to build my first program for a 12F683 but it seems that I can't get the inline assembly right. So far I've got everything right, but I'd like to set the configuration fuses so the watchdog timer doesn't reset on me. I copy and pasted this from an other thread:
@ DEVICE PIC12F683,MCLR_OFF,INTRC_OSC_NOCLKOUT,WDT_OFF,BOD_ ON, PWRT_ON
Also from http://www.picbasic.co.uk/forum/showthread.php?p=69895
@ DEVICE pic12F683, WDT_Off
Doesn't even work.
Here's my error
Warning[207] C:\RFID\UNTITLED.ASM 95 : Found label after column 1. (DEVICE)
Error[122] C:\RFID\UNTITLED.ASM 95 : Illegal opcode (pic12F683)
The computer I'm using has MPLab8.15a and PBP 2.47 it looks like from the compile window. Commenting out the line clears the error.
@ DEVICE PIC12F683,MCLR_OFF,INTRC_OSC_NOCLKOUT,WDT_OFF,BOD_ ON, PWRT_ON
Also from http://www.picbasic.co.uk/forum/showthread.php?p=69895
@ DEVICE pic12F683, WDT_Off
Doesn't even work.
Here's my error
Warning[207] C:\RFID\UNTITLED.ASM 95 : Found label after column 1. (DEVICE)
Error[122] C:\RFID\UNTITLED.ASM 95 : Illegal opcode (pic12F683)
The computer I'm using has MPLab8.15a and PBP 2.47 it looks like from the compile window. Commenting out the line clears the error.