Quote Originally Posted by Joe S. View Post
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

Thanks for your replying

Oky I discover strange problem in my code and I don't know what is the reason , The interrupt woking properly without any problems but when I define new variable like this

qcount var word

any name not necessary to be (qcount) , then the interrupt not woking well , what may be the the cause of this problem ????