Hallo everyone,

I just copied this code from Rentron electronics and tried to compile it to get a hex code to programme the pic16f628, but unfortunately I get an error and I can't seem to get the hex code.

I use Nigel Goodwin's WinPicProg, and whenever I try to set the fuses there I also get a verification error. Even when I disable the auto verify I can't get the hex code.

Here is the first part of the code causing the error:
@ DEVICE MCLR_OFF, INTRC_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_OFF

Illegal Opcode (MCLR_OFF)

the complete code is here:

http://www.rentron.com/PicBasic/IR_Chips.htm

I appreciate your help!

Many thanks in advance.