The PIC has the ability to sense when it's power is getting too low and it shuts down if brown out is enabled, if disabled it will run until it won't run any longer . . . so in your config statement you can enable or disable. Some chips use BOD_OFF or BODEN_OFF, you can see all the choices for the chip you are using in the MPASM directory\ xxFxxxx.inc file, the xxFxxxx being the number of the PIC you are using I. E, 16F628A or 16F876A etc. You will find those files in C:\Program Files\Microchip\MPASM Suite\ if you did not use a "custom" install location.
From that file on my computer, p16F877A.inc : _BODEN_OFF added to your config statement will disable brown out detect.
Study this link :
http://www.picbasic.co.uk/forum/showthread.php?t=543
Bookmarks