Harry H. Arends wrote: > Correct but i still have one problem. > In the 16F628 the BOR is set with _BODEN_ON . > But in the 16F685 there are two bits used called BOREN0 and BOREN1 . > But when i use it like this: _BODEN0_ON & _BODEN1_ON then it shows > this error "Symbol not previously defined (_BODEN0_ON) ". > How should i write these two correct to replace the old BOR. I think that P16F685.INC is pretty clear on this point. Use _BOR_ON, _BOR_NSLEEP, _BOR_SBODEN or _BOR_OFF. It was not *that* hard to find, was it ? :-) ;========================================================================== ; ; Configuration Bits ; ;========================================================================== _FCMEN_ON EQU H'3FFF' _FCMEN_OFF EQU H'37FF' _IESO_ON EQU H'3FFF' _IESO_OFF EQU H'3BFF' _BOR_ON EQU H'3FFF' _BOR_NSLEEP EQU H'3EFF' _BOR_SBODEN EQU H'3DFF' _BOR_OFF EQU H'3CFF' _CPD_ON EQU H'3F7F' _CPD_OFF EQU H'3FFF' _CP_ON EQU H'3FBF' _CP_OFF EQU H'3FFF' _MCLRE_ON EQU H'3FFF' _MCLRE_OFF EQU H'3FDF' _PWRTE_OFF EQU H'3FFF' _PWRTE_ON EQU H'3FEF' _WDT_ON EQU H'3FFF' _WDT_OFF EQU H'3FF7' _LP_OSC EQU H'3FF8' _XT_OSC EQU H'3FF9' _HS_OSC EQU H'3FFA' _EC_OSC EQU H'3FFB' _INTRC_OSC_NOCLKOUT EQU H'3FFC' _INTRC_OSC_CLKOUT EQU H'3FFD' _EXTRC_OSC_NOCLKOUT EQU H'3FFE' _EXTRC_OSC_CLKOUT EQU H'3FFF' _INTOSCIO EQU H'3FFC' _INTOSC EQU H'3FFD' _EXTRCIO EQU H'3FFE' _EXTRC EQU H'3FFF' LIST -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist