Projects › Projects › LASER SECURITY USING LM339 › Please post your C code here
March 30, 2014 at 5:34 pm
#11422
Ganesh Selvaraj
Participant
Please post your C code here so that we can suggest the necessary edits. Loooking from your problem, u have to change the delay time or add an infinite while loop in you interrupt service routine. For eg:
ISR_function()
{
<switch on alarm>;
while(1);
}
The above function will switch ON the alarm and go into and infinite loop out which the controller comes only after reset button is pressed.