>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. Have a look in the processor include file ??? I suspect that this processor has variable voltage settings for the brownout, and so there will be four symbols, one for off, and three for voltages. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist